PASSPORT Knowledge Base
Launching PASSPORT PC to Host

Date Published: September 23, 2002
Date Updated: March 14, 2008

Title

Starting Multiple Sessions

Product

PASSPORT PC to Host

Emulation Types

TN3270, TN5250, VT, SCO ANSI, Wyse 60

Issue

How can I start multiple PASSPORT sessions simultaneously?

Solution

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:

  1. Open the appropriate number of sessions.
  2. Position and size the PASSPORT windows to your liking.
  3. Choose the File®Save Session Layout... menu command.
  4. Type a name for the layout.
  5. Close all PASSPORT sessions (File®Exit All).
  6. Double-click the newly created desktop icon.

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.

More Information

Keywords

launch, start, session, multiple, batch, save session layout