durex Posted February 8, 2005 Posted February 8, 2005 Trying to figure out an automated way (using batch/vbs) to clear IE's history... Ive tried "del "C:\Documents and Settings\tgraffam\Local Settings\History\*" but got an error saying it cant find it...Also, does anyone happen to know if this also clears out what IE saves in fields (ie Search engine input fields) as well? If not.. what needs to be done to clear this out as well?Thanks!!
FeTT! Posted February 8, 2005 Posted February 8, 2005 take from http://hardwarehell.com/xp_clean.shtmlPrivacy for Windows XPrem WinXP, cleans cookies, cache, temp, history, index.datrem put in startup folder and it'll clean each time upon logging inrem save to text file named something like cleanxp.cmdrem to clean index.dat files must logoff completely. Switch users wont' cut it.rem Netscape see Windows 2000 section here@echo oncd %homedrive%%homepath%rd /s/q locals~1\tempor~1rd /s/q locals~1\temp\tempor~1rd /s/q cookiesrd /s/q temp\cookiesrd /s/q locals~1\historyrd /s/q locals~1\temp\historyrd /s/q recentmd recentrd /s/q locals~1\tempmd locals~1\temp
Yzöwl Posted February 8, 2005 Posted February 8, 2005 you may also get away with this:REG DELETE "HKCU\Software\Microsoft\Internet Explorer\TypedURLs" /f
durex Posted February 8, 2005 Author Posted February 8, 2005 take from http://hardwarehell.com/xp_clean.shtmlPrivacy for Windows XPrem WinXP, cleans cookies, cache, temp, history, index.datrem put in startup folder and it'll clean each time upon logging inrem save to text file named something like cleanxp.cmdrem to clean index.dat files must logoff completely. Switch users wont' cut it.rem Netscape see Windows 2000 section here@echo oncd %homedrive%%homepath%rd /s/q locals~1\tempor~1rd /s/q locals~1\temp\tempor~1rd /s/q cookiesrd /s/q temp\cookiesrd /s/q locals~1\historyrd /s/q locals~1\temp\historyrd /s/q recentmd recentrd /s/q locals~1\tempmd locals~1\tempyou may also get away with this:REG DELETE "HKCU\Software\Microsoft\Internet Explorer\TypedURLs" /fThanks... these 2 things were exactly what I was looking for...
FeTT! Posted February 9, 2005 Posted February 9, 2005 I try to help when I have 2 minutes of free( between 2 installations )Have a nice day
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now