home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem *****
- rem
- rem sample batch file for zmodem using
- rem DSZ.
- rem
- rem parameters passed = %1 port
- rem %2 baud
- rem %3 sz/rz
- rem %4 filename
- rem
- rem *****
-
-
- :: DSZ port %1 speed %2 D restrict p %3 %4
-
-
- :: The problem of other protocols not using sz/rz as the
- :: function indicator can be got around by the following method.
- ::
-
- rem **********
- rem
- rem sample batch file for non-DSZ upload/download
- rem protocols. Replace SEND/RECEIVE parameters with
- rem whatever command your protocol uses.
- rem
- rem **********
- rem
- rem
- rem if "%3 " == "sz" goto :SEND
- rem if "%3 " == "rz" goto :RECEIVE
- rem
- rem :SEND
- rem PROGRAM %1 %2 SEND %4
- rem goto :END
- rem
- rem :RECEIVE
- rem PROGRAM %1 %2 RECEIVE %4
- rem goto :END
- rem
- rem
- rem :END
- rem
-