Starting Multiple Sessions
PASSPORT PC to Host
TN3270, TN5250, VT, SCO ANSI, Wyse 60
How can I start multiple PASSPORT sessions simultaneously?
For version 2002-621 and newer:
Follow the steps below to create a desktop icon for starting multiple sessions with saved window size and position:
For versions prior to 2002-621:
Multiple PASSPORT sessions can be launched from a shortcut placed on the Windows desktop that starts a batch file.
Step 1 - Create a Batch File
Create a batch file using a text editor such as Windows Notepad. Save the batch file somewhere on your hard disk or network. Save your file name with a *.bat extension. If you do not use the *.bat extension, the batch file will not work. Use the following command structure, substituting the names of your *.zws files for as many sessions as you want to open simultaneously.
Windows 2000/XP:
start/d"c:\program files\passport\" passport.exe <<session1>>.zws
sleep 3
start/d"c:\program files\passport\" passport.exe <<session2>>.zws
sleep 3
start/d"c:\program files\passport\" passport.exe <<session3>>.zws
Note: The sleep command is necessary to prevent the sessions from attempting to use the same HLLAPI short name. The sleep.exe file can be found on any Windows Resource Kit CD. |
Step 2 - Create a Shortcut on the Windows Desktop
Right-click the shortcut icon, click Properties, and then click the Program tab. Select the Close on exit check box, and then click OK. This ensures that the DOS window will close after executing the batch file. Double-click the shortcut icon to start the multiple PASSPORT sessions.
launch, start, session, multiple, batch, save session layout