Clear IE7 History: Command Line Method

Automating Internet Explorer 7 Cleanup with Batch Files
For users who prefer automating computer maintenance tasks, incorporating specific commands into batch files can be highly effective. These commands allow for the automation of functions found within the Internet Explorer 7 Delete Browsing History dialog.
Understanding the Delete Browsing History Dialog
Many users are familiar with the Internet Explorer 7 Delete Browsing History dialog. It provides options for clearing various types of internet data. The following commands directly correspond to the functionalities presented in this dialog.
Specific Commands for Data Clearing
The following RunDll32.exe commands can be executed from the command line, the Vista start menu search, or within a batch file. Each command targets a specific type of data for removal.
- Temporary Internet Files
- Cookies
- History
- Form Data
- Passwords
- Delete All
- Delete All with Add-on Data
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
Compatibility
These commands are designed to function correctly with Internet Explorer 7 on both Windows XP and Windows Vista operating systems. They provide a streamlined method for automated browser cleanup.
Deleting temporary internet files is particularly important for freeing up disk space and maintaining system performance.