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
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
|
each section title should be different & i don't think they can contain special characters (\)
