home *** CD-ROM | disk | FTP | other *** search
- echo off
- rem ------------------------------------------------------------------------
- rem QReader passes these parameters to SEND.BAT
- rem %1 = baud rate
- rem %2 = com port
- rem %3 = file name to send
- rem %4 = protocol choice (letter)
- rem %5 = base address for com ports other than 1 or 2 (DSZ portx option).
- rem %6 = IRQ for com ports other than 1 or 2 (DSZ portx option).
- rem ------------------------------------------------------------------------
- rem If using non-standard COM ports (COM ports other than 1 or 2), replace
- rem port %2 in each line below with portx %5,%6 (note comma between %5,%6).
- rem ------------------------------------------------------------------------
- rem If you wish to use the GSZ (graphical equivalent to DSZ) protocol,
- rem simply replace each occurrence of DSZ below with GSZ and refer to
- rem QREADER.DOC for configuring PROTOCOL.DAT. Also place the following
- rem set command in your BBS batch file: SET GSZWINDOW=21
- rem ------------------------------------------------------------------------
- rem If using a FOSSIL driver, a compatible DSZ equivalent must used.
- rem ------------------------------------------------------------------------
- if "%4" == "X" goto :Xmodem
- if "%4" == "C" goto :Xmodem
- if "%4" == "O" goto :1Kxmodem
- if "%4" == "F" goto :1KxmodemG
- if "%4" == "Y" goto :Ymodem
- if "%4" == "G" goto :YmodemG
- if "%4" == "Z" goto :Zmodem
- goto :end
-
- :Xmodem
- DSZ port %2 pB4096 sx %3
- goto :end
-
- :1Kxmodem
- DSZ port %2 pB4096 sx -k %3
- goto :end
-
- :1KxmodemG
- DSZ port %2 pB4096 sx -k -g %3
- goto :end
-
- :Ymodem
- DSZ port %2 pB4096 sb -k %3
- goto :end
-
- :YmodemG
- DSZ port %2 pB4096 sb -k %3
- goto :end
-
- :Zmodem
- DSZ port %2 pB4096 sz -m %3
-
- :end
-