Is there a command line option to start Procomm using a specific Com Port? I would like to open multiple windows, using a batch file, each using a different (and specific) Com Port.
As SAMMEE2 mentioned, set modem connection is the command you want to use. This can't be set in the command line per se, but you could include the name of a script containing this command in the command line that you use to launch Procomm Plus.
Thanks for the reply, but I know how to change the modem connection in a script and I already do that. I am trying to use a batch file to open multiple instances of Procomm each with a specific Com Port. I was hoping to do it at the command line. Any other suggestions?
There is no direct way to do it via the command line. If you add a script that sets the connection to your command line, then you can specify the connection (via your script) in that manner.
The only problem with that is that I would have to have seperate scripts for each window/com port. I want to run the same script in each window/com port.
The only other option I can think of then would be to pass the name of the connection via the command line and have your script set that particular connection. Here is some more information from the help file that I copied from my site:
You can pass variables to Procomm Plus via the command line used to start the application. For example, the command line "C:\Program Files\Symantec\Procomm Plus\Programs\PW5.exe myscript.wax test" will launch Procomm Plus, execute the script myscript.wax and place the word test in the predefined global string variable s0. Up to 10 values may be passed in. The values will be placed in the global strings s0 through s9, and the number of passed variables will be placed in the predefined global integer i0. Your script can then use the atoi, atol, or atof commands to convert the string values to integers, longs, or floats, if necessary.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.