Thread: BAD BAT
View Single Post
  #8  
Old November 13th 04, 06:27 PM
Bert Kinney
external usenet poster
 
Posts: n/a
Default

Hi Pebble,

Smartdrv.exe will help speed the process up at the command
prompt but is not necessary. Use System File Checker to extract
a fresh copy from the Win98 CD and place it in the C:\Windows folder.
Boot to the command prompt and retry the bat file.
--
Regards,
Bert Kinney [MS-MVP DTS]
http://dts-l.org/

"Pebble" wrote
Thanks Bert and Ingeborg,
It would seem I have to load smartdrv.exe. Error reads "cannot load
smartdrve when shell programme (such as MSDOS shell) or Windows is running.
Quit windows or the shell and then load smartdrv." I'm not sure how to load
this file. I have smartdrv.exe (3 of them) in Windows, Windows/Command and
Windows /Drivers-this one is an older version. Deltree.exe only in
Windows/Command. I'm not sure about working in MSDOS, only ever worked with
the clean.bat file in there!!? I know how to grab a version of missing
files from the cabs. Is this necessary?
--
* * Pebble in Boulder * *
"Bert Kinney" wrote
Hi Pebble,

Put a REM with a space after it in front of each line
one at a time and run the bat file. The REM will remark
out the line and cause it not to execute. This will tell you
which command is at fault.

Example:

REM deltree /y c:\windows\tempor~1

--
Regards,
Bert Kinney [MS-MVP DTS]
http://dts-l.org/

"Pebble" wrote
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.
--
* * Pebble in Boulder * *
--

Name: MULTIMEDIA 800AU*
Microprocessor: Intel Pentium Ill 800MHz
RAM: 64MB
Video Memory: 8MB (VooDoo 3 2000)
Hard Disk: 20GB
Operating System: Windows '98 SE
OE v 5.50.4807.1700