home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / ra / sx400h1.zip / DRDR.BAT < prev    next >
DOS Batch File  |  1993-04-11  |  3KB  |  55 lines

  1. @Echo Off
  2. Cls
  3. Rem Set The Following To The Location and Current FileSpecs For The Following
  4. Rem Reader Utils
  5. Set ReaderPath=C:\RoboBbs\Xpress\
  6. Set Reader=SXR302.ZIP
  7. Set ReaderP=SXR302P.ZIP
  8. Set ReaderPU=SXR302PU.ZIP
  9. Set ReaderQ=QPMI.ZIP
  10. Echo Downloading Reader:  Com: %1, User Baud: %2, Protocal: %3
  11. If "%4" == "1" Echo                      %ReaderPath%%Reader%
  12. If "%4" == "2" Echo                      %ReaderPath%%ReaderP%
  13. If "%4" == "3" Echo                      %ReaderPath%%ReaderPU%
  14. If "%4" == "4" Echo                      %ReaderPath%%ReaderQ%
  15. If "%3" == "X" Goto Xmodem
  16. If "%3" == "x" Goto Xmodem
  17. If "%3" == "Y" Goto Ymodem
  18. If "%3" == "y" Goto Ymodem
  19. If "%3" == "Z" Goto Zmodem
  20. If "%3" == "z" Goto Zmodem
  21. Goto Finished
  22. :Xmodem
  23. If "%4" == "1" Echo Downloading %Reader% Using Xmodem CRC > Com%1:
  24. If "%4" == "2" Echo Downloading %ReaderP% Using Xmodem CRC > Com%1:
  25. If "%4" == "3" Echo Downloading %ReaderPU% Using Xmodem CRC > Com%1:
  26. If "%4" == "4" Echo Downloading %ReaderQ% Using Xmodem CRC > Com%1:
  27. Echo Start Your Transfer Now! > Com%1:
  28. If "%4" == "1" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /X %ReaderPath%%Reader%
  29. If "%4" == "2" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /X %ReaderPath%%ReaderP%
  30. If "%4" == "3" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /X %ReaderPath%%ReaderPU%
  31. If "%4" == "4" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /X %ReaderPath%%ReaderQ%
  32. Goto Finished
  33. :Ymodem
  34. If "%4" == "1" Echo Downloading %Reader% Using Ymodem Batch > Com%1:
  35. If "%4" == "2" Echo Downloading %ReaderP% Using Ymodem Batch > Com%1:
  36. If "%4" == "3" Echo Downloading %ReaderPU% Using Ymodem Batch > Com%1:
  37. If "%4" == "4" Echo Downloading %ReaderQ% Using Ymodem Batch > Com%1:
  38. Echo Start Your Transfer Now! > Com%1:
  39. If "%4" == "1" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /Y %ReaderPath%%Reader%
  40. If "%4" == "2" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /Y %ReaderPath%%ReaderP%
  41. If "%4" == "3" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /Y %ReaderPath%%ReaderPU%
  42. If "%4" == "4" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /Y %ReaderPath%%ReaderQ%
  43. Goto Finished
  44. :Zmodem
  45. If "%4" == "1" Echo Downloading %Reader% Using Zmodem > Com%1:
  46. If "%4" == "2" Echo Downloading %ReaderP% Using Zmodem > Com%1:
  47. If "%4" == "3" Echo Downloading %ReaderPU% Using Zmodem > Com%1:
  48. If "%4" == "4" Echo Downloading %ReaderQ% Using Zmodem > Com%1:
  49. Echo Start Your Transfer Now! > Com%1:
  50. If "%4" == "1" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /Z %ReaderPath%%Reader%
  51. If "%4" == "2" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /Z %ReaderPath%%ReaderP%
  52. If "%4" == "3" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /Z %ReaderPath%%ReaderPU%
  53. If "%4" == "4" C:\RoboBbs\Xpress\Xmt /F /C %1 /B %2 /T /Z %ReaderPath%%ReaderQ%
  54. :Finished
  55.