I can't figure this out using the latest SE 15 on Windows 7 SP1 x64:
I need to add directories to the inherited system PATH environment variable in the Workspace Environment Properties dialog for a particular workspace.
None of these work in that dialog:
set PATH=C:\Foo\Bar;%(PATH)
set PATH=C:\Foo\Bar;%PATH%
set PATH=C:\Foo\Bar;%(%PATH%)
Executing echo %PATH% on the build window command line just shows that PATH has been set to the literal value of the set command without substituting the value of the existing PATH environment variable.
I'm really surprised that there is no way of expanding inherited environment variables via the Workspace Environment variables dialog, only setting literal values! It seems such an obvious way of extending PATH, INCLUDE, LIB, etc. environment variables inherited from the Slickedit environment to apply to an entire workspace.
The other thing I've been surprised about, is that the value of a workspace PATH variable set in this way persists even after the workspace is closed and the build shell in the build window has been exited (via typing "exit" on the command line). On restaring the build window shell, the prior workspace's settings seem to have changed Slickedit's own values for these environment variables inherited from the system environment; e.g., I have to restart Slickedit to get back the PATH inherited from the system.
What am I doing wrong here, have misunderstood? I just want to reference and change environment variables inherited from the system environment on a workspace by workspace basis!