home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / rtape400.zip / GETFILE.BAT < prev    next >
DOS Batch File  |  1994-11-10  |  960b  |  28 lines

  1. @ECHO OFF
  2. REM Do Not Delete This File!!!
  3. REM It Must Be Present In Robo Tape's Home Directory.
  4. REM .
  5. REM Parameters For Calling This Batch File Are...
  6. REM %1 Com Port Number 1 = Com 1....
  7. REM %2 Transfer Protocol x=Xmodem, b=Ymodem, z=Zmodem.
  8. REM %3 Upload Path For This File Area, "Restored Path" In RBCONFIG Program.
  9. REM %4 File Name To Be Uploaded.
  10. REM %5 File Type 0=Self-Extract Or Not An Archive,1=GIF,2=ZIP,3=ARJ,4=LZH,
  11. REM    5=ARC,6=SQZ,7=ZOO. Use This Parameter For Virus Scanners, GIF Checkers,
  12. REM    And Etc....
  13. REM %6 Baud Rate User Is Logged On At
  14. REM .
  15. :LOOP
  16.    DSZ port %1 r%2 %3%4
  17.    if errorlevel 1 goto BAD
  18.    goto DONE
  19. :BAD
  20. REM The File UPSTAT.DAT Will Be Shown To The User After A Bad UPLOAD. Use The
  21. REM Redirection Symbol ">" To Redirect The Echo To This File.
  22.    echo WARNING: Bad Upload !!! >UPSTAT.DAT
  23.    echo Exiting With Errorlevel 1
  24.    del %3%4
  25.    goto DONE
  26. :DONE
  27.    echo Exiting Back To Robo Tape.....
  28.