I'm trying to add C:\Program Files\Common Files\xxx\xxx
to the system PATH environment variable by appending %CommonProgramFiles%\xxx\xxx
to the existing path.
After rebooting, I open a command prompt and check the PATH. It expands correctly. However, when using Process Explorer from Sysinternals
to view the Environment variables on services.exe
, it shows the unexpanded version. Coincidentally, the paths using %SystemRoot%
expand and are recognized just fine.
I've tried altering the PATH through the Environment Variables window from System Properties and through direct Registry manipulation, neither seems to work.
Is it possible to use other environment variables, besides %SystemRoot%
in PATH and have services.exe
understand it?