PC Review


Reply
Thread Tools Rate Thread

How can I automatically delete the contents of the users' temp folders?

 
 
alexharris@aol.comNEWS
Guest
Posts: n/a
 
      28th Mar 2005
How can I automatically delete the contents of the users' temp folders
with the login script. The server is Windows 2000 with an AD and Win
2000 and XP PCs.


So far I have worked out
echo y | del %systemdrive%\"Documents and Settings"\%username%\temp*.*
but this doesn't include the switch for the local settings folder and
if I try and add it, the command fails.


Help!


Thanks


Alex

 
Reply With Quote
 
 
 
 
Crouchie1998
Guest
Posts: n/a
 
      28th Mar 2005
I have a script that runs my own VB.NET application that completely deletes
all files in the user's Temp folder. This was found to be the easiest way I
have found to do this


 
Reply With Quote
 
alexharris@aol.comNEWS
Guest
Posts: n/a
 
      28th Mar 2005

Crouchie1998 wrote:
> I have a script that runs my own VB.NET application that completely

deletes
> all files in the user's Temp folder. This was found to be the easiest

way I
> have found to do this


Any chance of a copy . . . please?

Alex

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Temp file Folders : ok to delete contents of all on the computer? Pete Carr Windows XP General 17 8th Jan 2008 01:39 AM
delete all the contents (sub folders and files) in the temp folder =?Utf-8?B?Sm9zZXBo?= Microsoft Excel Misc 0 6th Jun 2005 09:01 AM
Deleting contents of temp folders =?Utf-8?B?bGF1cmE=?= Microsoft Windows 2000 1 28th Feb 2005 02:24 PM
Temp Folders - delete contents???? Allan J. Behr Windows XP Basics 5 30th Nov 2003 06:04 PM
Temp Folders - delete contents???? Allan J. Behr Windows XP General 3 30th Nov 2003 04:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:40 PM.