home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
CO
/
CO023B.ZIP
/
SX4-2.EXE
/
TERM.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-01-11
|
421b
|
20 lines
@ECHO OFF
ECHO OFF
CLS
IF NOT (%1) == () GOTO OKPARM
ECHO Purpose: Simple terminal program for modem diagnosis on COM1 or COM2
ECHO Format: TERM <port> [<baudrate>]
ECHO Example: TERM 1 1200
ECHO Note: Only ports 1 and 2 are supported by this version of TERM.
GOTO QUIT
:OKPARM
IF (%2) == () GOTO NOSET
MODEM %1 DROPDTR
MODEM %1 SETBAUD %2
IF ERRORLEVEL 1 GOTO QUIT
:NOSET
MODEM %1 TERM
:QUIT