Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-07-2000, 12:36 AM   #1
Member (8 bit)
 
realtor388's Avatar
 
Join Date: Oct 2000
Location: Milwaukee
Posts: 147
Send a message via Yahoo to realtor388
Question

I went to notepad then autoexec.bat and put in del C:WindowsTemp*.tmp>nul
This was supposed to empty my temp files on start up but it does not. Any help would be appreciated. Thanks
realtor388 is offline   Reply With Quote
Old 11-07-2000, 06:51 AM   #2
RJ
Member (14 bit)
 
Join Date: Feb 2000
Location: Offenbach/Main (Germany)
Posts: 8,485
Send a message via ICQ to RJ
Wink

Hi realtor388,

The following line will clear your temp directory

del C:\Windows\Temp\*.*

Well, now I'm not sure if the computer asks you to confirm deleting. I think it does, because long, long time ago I also coded my cleartmp lines, and they are:

DELTREE /Y C:\WINDOWS\TEMP
MD C:\WINDOWS\TEMP

This should do that

RJ
RJ is offline   Reply With Quote
Old 11-11-2000, 12:52 PM   #3
Member (3 bit)
 
Join Date: Oct 2000
Posts: 7
For Windows 95, I would use this line in C:\AUTOEXEC.BAT:

echo y|del c:\windows\temp\*.*

The pipe ( | ) sends a y to the del command, to confirm that you want to delete all the files in c:\windows\temp.
dam286 is offline   Reply With Quote
Old 11-17-2000, 07:54 PM   #4
Member (3 bit)
 
Join Date: Oct 2000
Posts: 7
RJ, I like your code better.
I'd never seen subfolders in the temp folder before, last week I looked around and found some.
I'll still use my code with DOS 3.3, though.
dam286 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:30 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2