Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
batch file to clean system
Name: Johnoh Date: December 14, 2002 at 06:04:26 Pacific OS: win98se CPU/Ram: athlon 1.4g, 512mb
Comment:
I use the following batch file to clean my system. ----------------- @ECHO OFF START taskinfo kill persfw.exe START /W C:\Progra~1\Diskcl~1\DClean.exe -q:clean START /W c:\windows\scandskw.exe c: /ALL /noninteractive /silent START c:\windows\defrag.exe /all /noprompt /detailed START taskinfo fshutdown
Lately the final line though, the one that forces a shutdown, has been executing before the previous line, the defrag, has finished. The defrag starts analyzing the hard disk and then before it even starts moving clusters the system shuts down. Does anybody know what I can do to make sure that this shutdown line waits for the previous line to finish before it executes?
Name: The Count Date: December 14, 2002 at 06:29:12 Pacific
Reply:
Simple, place pause between the two lines.
Hope this answers your question.
Greetz from The Netherlands, The Count
0
Response Number 2
Name: WhitPhil Date: December 14, 2002 at 06:38:23 Pacific
Reply:
Place the /W switch on all the Start lines.
0
Response Number 3
Name: Johnoh Date: December 14, 2002 at 07:50:47 Pacific
Reply:
Thanks. The /W switch fixed it.
0
Response Number 4
Name: Normande Date: December 14, 2002 at 09:50:34 Pacific
Reply:
Will this batch file work on Win XP Pro or just Win98 ? If it does can someone tell me what to change in Johnoh's file to make it work ? BTW, good job Johnoh! Thank you.
Summary: I am attempting to create a batch file that will automatically launch a dial up connection. I will eventually be using the script on Win 98 PC's but for now am testing it on Win 2000. I've tried comma...
Summary: I'm trying to write a simple batch file to change the registry settings for a program before the batch file launches the program. My problem is when the batch file tries to add the *.reg file I get pr...