in reply to Device::Modem Find which Port Modem is connected to

I want to ...

I think you want to search :)

ddg://enumerate COM ports site:perlmonks.org -> open com port list, Re: finding a serial port with Win32::SerialPort, Marrying Tk, threads and SerialPort - a COM port monitor

$ reg query "HKLM\Hardware\DEVICEMAP\SERIALCOMM ! REG.EXE VERSION 3.0 HKEY_LOCAL_MACHINE\Hardware\DEVICEMAP\SERIALCOMM \Device\AgereModem5 REG_SZ COM3 $ mode COM2 Illegal device name - COM2 $ mode COM3 Status for device COM3: ----------------------- Baud: 1200 Parity: Even Data Bits: 7 Stop Bits: 1 Timeout: OFF XON/XOFF: OFF CTS handshaking: OFF DSR handshaking: OFF DSR sensitivity: OFF DTR circuit: ON RTS circuit: ON

Replies are listed 'Best First'.
Re^2: Device::Modem Find which Port Modem is connected to
by anshumangoyal (Scribe) on Jun 23, 2012 at 11:08 UTC
    Many Thanks! it worked like a charm.