T
tbassngal
I am new to MS-DOS programming and would like to know how
I can get
the error messages not to appear in the following code:
IF EXIST C:\Docume~\All
Use~\Documen~\ADM_026~\Databas~\Fronten~\Training GOTO
NEXT1
REM Echo ***** TRAINING DIRECTORIES *****
Md "C:\Documents and Settings\All
Users\Documents\ADM_026_032_036
\Databases\FrontEnd\Training"
:NEXT1
When the directory exists, I still get a message that say
directory
already exists... or in similar code (below) will get an
error message
that the system cannot find file specified. These are
normal messages
for the code that I have written, but I do not want the
user to see
them... it confuses the heck out of them.
rmdir /S /Q C:\Docume~1\%USERNAME%~NAM\
Please help! Thank you - I know this must be simple,
correct? I've
tried the if not exist and if exist goto, etc.
I can get
the error messages not to appear in the following code:
IF EXIST C:\Docume~\All
Use~\Documen~\ADM_026~\Databas~\Fronten~\Training GOTO
NEXT1
REM Echo ***** TRAINING DIRECTORIES *****
Md "C:\Documents and Settings\All
Users\Documents\ADM_026_032_036
\Databases\FrontEnd\Training"
:NEXT1
When the directory exists, I still get a message that say
directory
already exists... or in similar code (below) will get an
error message
that the system cannot find file specified. These are
normal messages
for the code that I have written, but I do not want the
user to see
them... it confuses the heck out of them.
rmdir /S /Q C:\Docume~1\%USERNAME%~NAM\
Please help! Thank you - I know this must be simple,
correct? I've
tried the if not exist and if exist goto, etc.