Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

batch file

Status
Not open for further replies.

elwell1

Technical User
Feb 24, 2006
2
US
i need some help writing a batch file or some kind of logon/logoff script that will empty the Temp, Temporary internet Files, cookies, and prefetch folders all in one. Does anyone have any ideas? I need this script to work on windows XP Pro/windows 2000 pro wkstations.We have 350+ workstations. Any help would be greatly appreciated. I want to empty the folder that are in this path, c:/documents and settings/username/local settings/(tempoarary internet files,
Temp)

Kevin Elwell
elwell1@gmail.com
 
You might try this in one of the server forums. Active directory and group policies should be able to do this.

The answer has always been 42
 
You want to do this through GP and Windows settings. Among other problems, different versions of Windows, IE, etc. end up storing temp files in different places. Hard to getr it all with a normal batch file.

_____
Jeff
[small][purple]It's never too early to begin preparing for [/purple]International Talk Like a Pirate Day
"The software I buy sucks, The software I write sucks. It's time to give up and have a beer..." - Me[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top