You need to replace the path of "XXX\User Data\..." with your own path.
Code:
Clearing browser history...
@del /f /s /q "XXX\User Data\Default\History"
@del /f /s /q "XXX\User Data\Default\History-journal"
Shutting down the computer...
@shutdown /p /f