View Single Post
Old 26-07-2008, 04:17 PM   #6 (permalink) Top
donkey42
Paranoid Geeky Geek
 
donkey42's Avatar
 
Join Date: Mar 2006
Age: 34 Male
Posts: 5,815
Times Helpful: 309
My Mood: Paranoid
Status: Offline

My Computer

personally i'm unfamiliar with Vista, however, i do remember DOS, i'll go through your bat file command by command
Quote:
Originally Posted by scorps
@ECHO OFF
do not show the command currently being executed
Quote:
Originally Posted by scorps
PING 127.0.0.1 /n 2 /w 1000 > NUL
correction to replace the ping command
Code:
CALL WAIT 10
Quote:
Originally Posted by scorps
CD\
unnecessary
Quote:
Originally Posted by scorps
CD %ALLUSERSPROFILE%\Application Data\Microsoft\Dr Watson\
change working directory / folder
Quote:
Originally Posted by scorps
IF NOT EXIST "%ALLUSERSPROFILE%\Application Data\Microsoft\Dr Watson\" GOTO CD\
correction
Code:
if exist "%ALLUSERPROFILE%\Applic~1\Micros~1\Drwats~1" goto CD
Quote:
Originally Posted by scorps
RD "." /S /Q
delete everything in & below the working directory without prompt, correct

if you look at your script, you will see every section title is the same
Quote:
Originally Posted by scorps
Code:
:CD\
each section title should be different & i don't think they can contain special characters (\)


Last edited by donkey42; 26-07-2008 at 04:23 PM. Reason: fix
  Reply With Quote