Normally Firefox stores cookies, cache and history in two places. The first is per-user AppData directory C:Users
Copy below commands to Notepad and save the file as .bat extension. If you want to Run this file you can double click it. if u want to run and clear all history form fire fox within given time period you can write a program for this.
@echo off
set DataDir=C:Users%USERNAME%AppDataLocalMozillaFirefoxProfiles
del /q /s /f “%DataDir%”
rd /s /q “%DataDir%”
for /d %%x in (C:Users%USERNAME%AppDataRoamingMozillaFirefoxProfiles*) do del /q /s /f %%x*sqlite
Just create this Bat file. Will write a program to clear cookies, cache and history by given time period Join next article.