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.
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.
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.
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.) |