0

Is there any easy way to read the current status of CTS/DSR/RI/DCD of the COM Port for DOS Batch scripting purposes?

Pseudo Example (Autoexec.bat):

IF *CTS_Active* GOTO *Somewhere*

Is it possible to retrieve it using DEBUG.COM -i Input Parameter just like how it is possible to set LPT Port output with DEBUG.COM -o 378 ff ?

Or is there any simple freeware utility program that I can use such as

Modem Monitor
Shows real-time status of your modem's control signals on screen. Useful for debugging modem or other serial port devices, and verifying control status.
http://www.pc-tools.net/files/dos/freeware/modmn102.zip

Serial
Shows the status of your serial (COM) ports on screen. Shows the bit rate, parity, status of the leads (DTR, DSR, etc.). An excellent way to troubleshoot modem problems. https://bretjohnson.us/

and redirect its output to variable for scripting?

Related

  1. Low-Level control of RS232 (Com-Port) RTS/CTS/DTR/DSR possible?
LckySnday
  • 119
  • 1
  • 1
  • 11
  • 1
    The information on these pages may be helpful. [Free Software for DOS Communication & Internet – 1](https://www.bttr-software.de/freesoft/comm1.htm), [Free Software for DOS Communication & Internet – 2](https://www.bttr-software.de/freesoft/comm2.htm) – kunif Jun 05 '22 at 04:29

0 Answers0