Tuesday, 21 May 2013

Google Chrome - delete history via batch file

Google Chrome

Chrome stores history, cookies, cache and bookmarks in various databases and directories in the per-user application data directory at C:\Users\<username>\AppData\Local\Google\Chrome\User Data. The easiest way to get rid of all this data is just to erase everything there. Chrome creates this directory anew if it finds it missing.

    @echo off    set ChromeDir=C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data    del /q /s /f "%ChromeDir%"  rd /s /q "%ChromeDir%"


 

No comments:

Post a Comment