1.

Solve : Clear IE history.... ??

Answer»

Hello,

I want to clear Internet Explorer history by a batch file. Is it possible ?
I am using version 6.0. Guide me...Bye Have a Nice Day..

Superb Qinghao :-), It WORKED but an another window of command prompt is ALSO opening when I run it, can you explain me a little. Thanks. Have a Nice Day.Much better idea... use Firefox Quote from: fireballs on AUGUST 15, 2008, 03:25:26 AM

Much better idea... use Firefox
How would that help?

Why do you want to do this Sunny?Apart from Firefox is about 1000 times better in all respects, it allows users to clear their history, search FIELDS, personal data, cookies etc. automatically.Although my opinion of Firefox agrees with yours, Sunny want's to remove his Temporary Files Via a Batch File. Also, I'm sure there is a way to clear Temporary Files with IE.Code: [Select]echo @del /F /A /Q %%1 >%windir%\deltree1.bat
echo @RD /S /Q %%1 >>%windir%\deltree1.bat
rem ****kill the explorer(system shell) process,because the explorer.exe also use the database files in the history folder.****
taskkill /f /im explorer.exe
rem ****delete the history database folder,after deleting the system will rebuild this forlder automaticlly****
start deltree1 "%userprofile%\Local Settings\history"
rem ****delete the temporary files****
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
rem ****delete the history of the address bar****
reg delete "HKCU\Software\Microsoft\Internet Explorer\TypedURLs" /f
reg add "HKCU\Software\Microsoft\Internet Explorer\TypedURLs" /ve
rem ****restart the explorer(system shell)****
start explorer.exe
taskkill /f /im cmd.exe
copy codes in the code area,then save it as "aaa.bat"(I think you know how to )
close you IE, and then run it .
  • about the prompt window
    what's the detail in the prompt window?
    please post it up,for me to find way(s) in further.
  • clean up the recent documents list
Code: [Select]del /f /s /q "%userprofile%\recent\*.*"

    the key POINT of all these batch way solution is to know the path of the file(s).
    sunny
    could you please post up a screenshop of the prompt windows?
    Just curious...why do you need to do this with a batch file ? ?


    Discussion

    No Comment Found