I need to write a simple batch file. The .bat will be ran on NT 4 boxes. All I need to do is give the user a menu to choose 1 of 2 options. The first option is to copy a given list of files and create several directories, and the second option would be to reverify that the files were succesfully copied. I know how to copy, fc, compare, etc... but the current script I have just flashes up and down in a dos box when its ran. It looks as if it just skips my menu. Which looks like
:BEGIN
@ECHO OFF
verify on
/C:123 /t
,10 Choose - (1) To create directories and copy files (2) To verify Files were written AFTER being copied
IF ERRORLEVEL=2 GOTO TWO
IF ERRORLEVEL=1 GOTO ONE
GOTO END
NE
copy etc.
GOTO END
:TWO
fc etc.
:END
ANy ideas on where I"m wrong?
:BEGIN
@ECHO OFF
verify on
/C:123 /t
IF ERRORLEVEL=2 GOTO TWO
IF ERRORLEVEL=1 GOTO ONE
GOTO END
copy etc.
GOTO END
:TWO
fc etc.
:END
ANy ideas on where I"m wrong?