home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 19
/
CD_ASCQ_19_010295.iso
/
vrac
/
rtape400.zip
/
GETFILE.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-11-10
|
960b
|
28 lines
@ECHO OFF
REM Do Not Delete This File!!!
REM It Must Be Present In Robo Tape's Home Directory.
REM .
REM Parameters For Calling This Batch File Are...
REM %1 Com Port Number 1 = Com 1....
REM %2 Transfer Protocol x=Xmodem, b=Ymodem, z=Zmodem.
REM %3 Upload Path For This File Area, "Restored Path" In RBCONFIG Program.
REM %4 File Name To Be Uploaded.
REM %5 File Type 0=Self-Extract Or Not An Archive,1=GIF,2=ZIP,3=ARJ,4=LZH,
REM 5=ARC,6=SQZ,7=ZOO. Use This Parameter For Virus Scanners, GIF Checkers,
REM And Etc....
REM %6 Baud Rate User Is Logged On At
REM .
:LOOP
DSZ port %1 r%2 %3%4
if errorlevel 1 goto BAD
goto DONE
:BAD
REM The File UPSTAT.DAT Will Be Shown To The User After A Bad UPLOAD. Use The
REM Redirection Symbol ">" To Redirect The Echo To This File.
echo WARNING: Bad Upload !!! >UPSTAT.DAT
echo Exiting With Errorlevel 1
del %3%4
goto DONE
:DONE
echo Exiting Back To Robo Tape.....