home *** CD-ROM | disk | FTP | other *** search
- Echo off
- REM This is the batch file XBBS spawns to allow a user to upload a text
- REM file. XBBS passes the following parameters, in order:
- REM Baud, Comport # (COM1-style), Comport # (FOSSIL-style), Time, and
- REM Filename.
- REM It is then up to your batch file to invoke an XModem download from
- REM the user of Filename. This example uses DSZ (an old version) and
- REM is only useful for files named MSGTMP<nodenumber>. You can do some
- REM work on it to make it more generic if you need it.
- REM
- if "%6"=="1" goto SkipNode
- DSZ port %2 D restrict rx TMPMSG%6
- LineEd %1 %4 %3 23 0 0 80
- REN TMPMSG%6 MSGTMP%6
- goto SkipIt
- :SkipNode
- DSZ port %2 D restrict rx TMPMSG
- LineEd %1 %4 %3 23 0 0 80
- REN TMPMSG MSGTMP
- :SkipIt
- :END
- Exit
-