CentBrowser Forum

Full Version: BATCH FILE TO CLEAR BROWSER HISTORY
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All, Novice here.  Looking for the commands to build a batch file that will clear browser history and then shutdown the computer.  Any help would be greatly appreciated...

BillBrown45
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
(05-28-2021, 04:46 PM)CentBrowser Wrote: [ -> ]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
Thanks ~~ Didn't quite work...HISTORY and HISTORY-JOURNAL went away and the entries remain.  I have attached an image...
(05-29-2021, 12:03 AM)billbrown45 Wrote: [ -> ]Thanks ~~ Didn't quite work...HISTORY and HISTORY-JOURNAL went away and the entries remain.  I have attached an image...
These are Autofill items, not History.
You need to delete "Web Data" and "Web Data-journal" as well.
Thanks and I will try this....