|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
|
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 |
|
|
|
|
|
#2 |
|
Member (14 bit)
|
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 |
|
|
|
|
|
#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. |
|
|
|
|
|
#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. ![]() |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|