Default shell

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX


The SHELL environment variable specifies the shell that the SHELL subroutine will use.


The shell you want the SHELL subroutine to use.


On Windows, if this environment variable is set, the SHELL subroutine and the debugger use the shell that you specify in this environment variable, rather than the default shell specified by COMSPEC. (For more information about COMSPEC settings, see your Windows documentation.)

On UNIX, common shells are sh, csh, and ksh.


Other UNIX tools, such as vi, also use this environment variable.

Setting location

The environment. On Windows, this environment variable can also be set in the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

Used by



On Windows, if set in the synergy.ini file,

SHELL=c:\windows\system32\cmd.exe /c