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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need exact syntax for command line option 1

Status
Not open for further replies.

MollyMoon

Programmer
Mar 3, 2003
18
US
The help files indicate:

"You can launch Procomm Plus with the PW4 command line parameter. In addition, you can include command line arguments which control how Procomm Plus behaves once it is launched....The PW4 command line parameter always follows this form:

PW4 [argument] [argument] ...

where each optional argument is separated by a space or tab character."

However, I can't seem to get this to work. Can anyone give me the exact way to pass a connection directory named TEST.DIR which resides in the default directory (C:\Program Files\Symantec\ProComm Plus). I would appreciate full syntax, including any quotation marks or backslashes,etc, that are required.

Thanks.
 
Assuming you are using version 4.8 of Procomm and are using the default install location, the syntax would look like this:

"C:\Program Files\Symantec\Procomm Plus\PROGRAMS\PW5.EXE" dial.dir

where dial.dir is replaced by the name of the Connection Directory you want to open on startup. In case the command line gets mangled, there is a space between the command line to call Procomm and dial.dir.



aspect@aspectscripting.com
 
Thanks, that worked. The help file indicated that the connection directory should be in quotes as well, which is where I had trouble. (Although it also refers to PW4 so it is clearly outdated).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top