Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you find out if a comm port is already in use?

Status
Not open for further replies.

tobie

Technical User
Nov 7, 2002
5
0
0
US
How do you find out if a comm port is already in use before you switch to that port. I am using a script that switchs between many different piece of equipment, and I would like a way to find out if the port is already in use before the script tries to switch and hangs on port already in use.

Thanks
 
Unfortunately, I have not found a good way to do this in ASPECT, primarily due to Procomm talking to the modem through the TAPI layer. At I have a script called CheckModem.was that I've used in the past and seemed to work OK. Note that it only works with modems as direct connections do not support the commandmode on command. aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top