%ActivDir% does not work
Posted: 06.12.2017, 09:16
Hi! I'm trying to setup cmder ( http://cmder.net/ ) as my DOS prompt. The problem is that the %ActivDir% enviroment variable does not work.
If I start the program from another command prompt, this way:
c:\Program Files\cmder\Cmder.exe /START c:\Temp
then it opens in c:\Temp
But if I setup the DOS prompt this way:
c:\Program Files\cmder\Cmder.exe /START %ActivDir%
or even:
c:\Program Files\cmder\Cmder.exe /START "%ActivDir%"
Then the program starts up in my home dir, and displays this error message: "The system cannot find the specified path."
What is going on here?
If I start the program from another command prompt, this way:
c:\Program Files\cmder\Cmder.exe /START c:\Temp
then it opens in c:\Temp
But if I setup the DOS prompt this way:
c:\Program Files\cmder\Cmder.exe /START %ActivDir%
or even:
c:\Program Files\cmder\Cmder.exe /START "%ActivDir%"
Then the program starts up in my home dir, and displays this error message: "The system cannot find the specified path."
What is going on here?