Have session files open in a new window instead of a new tab.
When running a session file, by default, the session will open in a new tab.
If you would rather have the session open in a new window, follow the instructions below.
INSTRUCTIONS
By default, running an Xshell session file will open the session in a new tab.
To instead have the session open in a new window, uncheck the "Open mutiple sessions in a single Xshell window" option by going to Tools → Options → Advanced.
INSTRUCTIONS (Older Versions)
Before Xshell 4.0.0091, the above option is not available and you'll need to make a registry edit to achieve the desired results.
You will need to register the context menu by making a simple registration in the registry.
- Run regedit.
Register the following key in HKEY_CLASSES_ROOT\Xshell.xsh.
Key name : OpenWithNewWin
Default key value : Xshell open in new window
(You can define the value above as desired.)
Register a key in OpenWithNewWin.
Key name : command (You must use this name.)
Default key value : "C:\Program Files\NetSarang\Xshell 6\Xshell.exe" -newwin "%1" (Enter the path where Xshell.exe is located.)- If you want to open session files in a new window
change the value of "HKEY_CLASSES_ROOT\Xshell.xsh\open\command" to the default value of the key in step 3