Jan,

This is a batch file I put in my startup directory so it runs whenever I log 
into the computer.
It should be pretty obvious how to modify it for your situation.

Dennis



@echo off
if exist c:\windows\temp\*.$$$ del c:\windows\temp\*.$$$ /q
if exist c:\usertemp\*.$$$     del c:\usertemp\*.$$$ /q
if exist %tmp%\*.$$$           del %tmp%\*.$$$ /q
exit

________________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Tuesday, January 04, 2011 12:31 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - File Deletion

My turn.
 
I have been dutifully trying to manage my TMP files.
However I had a user yesterday get the 'Out of Disk space' message.
After some digging, we found that the C:\Temp directory was crammed
full of stuff.
 
So I need a way to clear out that directory on everyone's machine on
a daily basis.
 
I'm thinking of adding a command line to my logon.bat that everyone
has to use, but I'm a little unclear as to the syntax.
DEL C:\Temp|*.* sounds right but I'd like some confirmation.
 
Jan
 


Reply via email to