ModemHelp.Org Title and
Logo

How to determine if particular com ports are available, from DOS



ModemHelp.Org

Init Strings

Modem Manufactureres Support Sites

Modem Driver Sites

Modem Resource Sites

Modem Command Sets

Modem Related Sites

Where to put inits?

Term Server Support

Manufacturer Info Page

High Speed Alternatives

Weekly Webstats
Here are some quicky little tricks you can use from DOS if you want to determine if the com ports are available.

- To see if you computer is using COM1 type: MODE COM1:9600,n,8,1

If your computer doesn't have COM1 available, that you should get an, "Invalid parameter COM1" error.

If your computer does have COM1 available it should return something like COM1:9600,N,8,1 OR COM1:9600,N,8,-


Note: If you want to check your other COM ports, just substitute those com port numbers in for COM1.
As well the port speed, 9600 can also be 1200, 2400, 4800, or 19200.


Last Updated August 16, 1999.