SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Computer Learning

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: dpl who wrote (7368)12/16/1999 1:26:00 PM
From: Green Receipt  Read Replies (1) of 110624
 
This is what i personally do:

I modified my batch file (autoexec.bat)

at the end of it I added:

c:
cd rd /s /q temp
mkdir temp


NOw I'm not recommending you all do that, but if you do, please make a backup of the files you have stored there incase you actually keep something of value in that
directory.

An alternative to rd is 'deltree /y temp'

but yes, in general temp files don't need to be kept around.

And the code above only works if your temp directory resides on the C drive and is called temp!!
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext