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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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