Jump to content

Recommended Posts

Posted

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!!


Posted

take from http://hardwarehell.com/xp_clean.shtml

Privacy for Windows XP

rem WinXP, cleans cookies, cache, temp, history, index.dat

rem put in startup folder and it'll clean each time upon logging in

rem save to text file named something like cleanxp.cmd

rem to clean index.dat files must logoff completely. Switch users wont' cut it.

rem Netscape see Windows 2000 section here

@echo on

cd %homedrive%%homepath%

rd /s/q locals~1\tempor~1

rd /s/q locals~1\temp\tempor~1

rd /s/q cookies

rd /s/q temp\cookies

rd /s/q locals~1\history

rd /s/q locals~1\temp\history

rd /s/q recent

md recent

rd /s/q locals~1\temp

md locals~1\temp

Posted
take from http://hardwarehell.com/xp_clean.shtml

Privacy for Windows XP

rem WinXP, cleans cookies, cache, temp, history, index.dat

rem put in startup folder and it'll clean each time upon logging in

rem save to text file named something like cleanxp.cmd

rem to clean index.dat files must logoff completely. Switch users wont' cut it.

rem Netscape see Windows 2000 section here

@echo on

cd %homedrive%%homepath%

rd /s/q locals~1\tempor~1

rd /s/q locals~1\temp\tempor~1

rd /s/q cookies

rd /s/q temp\cookies

rd /s/q locals~1\history

rd /s/q locals~1\temp\history

rd /s/q recent

md recent

rd /s/q locals~1\temp

md locals~1\temp

you may also get away with this:

REG DELETE "HKCU\Software\Microsoft\Internet Explorer\TypedURLs" /f

Thanks... these 2 things were exactly what I was looking for...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...