Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BATCH FILE TO CLEAR BROWSER HISTORY
#1
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
Reply
#2
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
Reply
#3
(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...


Attached Files Image(s)
   
Reply
#4
(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.
Reply
#5
Thanks and I will try this....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)