COMSPEC

Shell program to run

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

 

 

If the SHELL subroutine is called with the second argument set to zero, COMSPEC specifies the name of the shell program to run.

Value

The name of the shell program to run.

Discussion

The default is cmd.exe.

If the SHELL environment variable is set, it overrides COMSPEC.

Setting location

The environment or the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

Used by

Runtime.

Examples

If set at the command prompt,

set COMSPEC=c:\dos\command /c 

If set in the synergy.ini file,

[synergy] 
COMSPEC=c:\dos\command /c