home *** CD-ROM | disk | FTP | other *** search
- echo off
- :
- : pass the first parameter as the com port.
- : XPMAIL will call this batch file as XPMAIL 1 or 2
- :
- :
- :----------------------------
- :goto use_ctty
- goto use_gateway
- :---------------------------
- :
- :use_ctty
- :
- ctty com%1
- Echo SHELL TO DOS. TYPE EXIT TO RETURN TO OPXPRESS.
- command
- ctty con
- goto exit
- :
- :use_gateway
- :
- CLS >GATE%1
- ECHO Please standby... >GATE%1
- CLS >GATE%1
- Echo SHELLING TO DOS. TYPE EXIT TO RETURN TO OPXPRESS. >GATE%1
- COMMAND >GATE%1 <GATE%1
- goto exit
- :
- :exit
- :
-