I Know lots of people even not using IE nowadays :p but at least if you’re using windows, you might need IE to download another browser. So i keep this post for my own purposed :) You can skip it [because programming is boring]....
IE features to delete internet files was doubted me because i need to do it manually by going through the Temporary folder, select files and delete it because sometimes “delete” option doesn’t mean “delete”. It is difficult to explain, but it just doesn’t work. I need something convenient method. So I am thinking to make a batch file. Here are some command that might be useful for delete your cache files, passwords and cookies [I only tested it on IE 7].
Delete History
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
Delete Cookies
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
Delete Temporary Internet Files
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Delete Form Data
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
Delete Stored Passwords
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
Delete All
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
Delete All (Also delete files and settings stored by add-ons options selected)
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
This is the sample of bacth file :
@ECHO OFF ECHO Deleting Temporary Files, Cookies, History, Form Data and Stored Passwords from current user....
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
ECHO Temporary Files, Cookies, History, Form Data and Stored Passwords have been deleted!
PAUSE
CLS
0 comments:
Post a Comment