Command Line Options
3270 5250 VT
You can use the Command Line options to automate certain tasks such as starting a single connection or loading a specific profile. At the command prompt, add the following options to the end of the command line. Use spaces between each option. For example:
- "c:\hostex32.exe" -P VMCMS.Startup
If the first word does not begin with a dash, HostExplorer assumes that it is the host IP name or address.
You can set the following command line options:
-D—Lets you write additional detailed debugging information to the hetrace.txt file.
-H hostname—Overrides the gateway name or host address when creating a window with a specific profile using the -p option. You can specify the port number by appending it to the end of the host address. For example:
- hostex32.exe -h 1.2.3.4,1023
Make sure there are no intervening spaces between the command and the port number.
To initiate connections from programs such as Gopher, use the following format:
- hostex32.exe -H ipaddr,port
Substitute ipaddr with the host IP address or name and, if required, append the port number.
-P profname.folder—Begins a session using the profile and folder specified. This is useful if you want to create icons that connect to specific hosts. For example:
- hostex32.exe -P VMTCP.Startup
-*—Automatically starts all profiles located in the Startup folder.