I created a new environment variable via Windows 7 advanced system settings:
VAR_MYPATH = "D:\someFolder"
I added the new variable to the path in the same dialog:
PATH = ...;%VAR_MYPATH%
When I run a new command prompt and type "CD %VAR_PATH%", no error is returned, but the command prompt does not change to "D:\someFolder".
If I attempt to launch a batch file under that folder from my C drive I end up with an error:
c:> %VAR_MYPATH%\someSubfolder\theBatchFile.bat
The system cannot find the path specified
All the paths are correct, so what am I missing to get the environment variable to work?