Metropoli BBS
VIEWER: dback.bat MODE: TEXT (ASCII)
ECHO OFF
REM DBACK.BAT Batch file, Jeff Peterman, Ph.D., October 1988
ECHO #==============================================================#
ECHO Initiate routine by typing DBACK [TRANSFER DRIVE] [TARGET DRIVE]
ECHO Include full drive/path information, e.g. DBACK C:\temp A: after
ECHO copying the original disk and this batch file into C:\temp
ECHO #==============================================================#
IF (%2)==() GOTO END
IF (%1)==(%2) GOTO END
:START
ECHO Set up to use %1 as Transfer Drive and %2 for Copies
ECHO ----------------------------------------------------------------
ECHO Insert a new formated disk in drive %2 or use Ctrl-C to quit.
PAUSE
COPY %1*.* %2
COPY %2*.* %1
ERASE %2DBACK.BAT
ECHO 
REM Previous line should be ECHO ^G, generating ^G (BEEP) by Ctrl-G.
ECHO ----------------------------------------------------------------
ECHO Copying complete.
ECHO ----------------------------------------------------------------
GOTO START
:END
ECHO Error in command line parameters.
[ RETURN TO DIRECTORY ]