Thread: BAD BAT
View Single Post
  #2  
Old November 13th 04, 10:59 AM
Ingeborg
external usenet poster
 
Posts: n/a
Default

"Pebble" wrote in
:

Hi all,
Have been running a bat file to clean temp files etc. Restart in
msdos-at the command-type clean-enter-and it does it's job. Today it
wouldn't work - bad command or file name - This is it.
******************
c:\windows\smartdrv.exe
deltree /y c:\windows\tempor~1
deltree /y c:\windows\temp
deltree /y c:\windows\tmp
deltree /y c:\windows\ff*.tmp
deltree /y c:\windows\history
deltree /y c:\windows\cookies
deltree /y c:\windows\recent
deltree /y c:\windows\spool\printers
del c:\WIN386.SWP
exit

*******************
Why is it so? It's done the job for years.


Your smartdrv.exe or deltree.exe is corrupt or gone, or C:\windows\command
is no longer in the PATH. (Deltree is found there).