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?
%ActivDir% does not work
Re: %ActivDir% does not work
I wrote a program quickly that saves its arguments into a txt file. I set this program in FreeCommander for "DOS prompt" an this was dumped:
test.exe %ActivDir%
In other words, the %ActivDir% macro was not substituted at all. It was added to the arguments as-is.
Is this a bug in FreeCommander? What am I doing wrong? Help me please!
test.exe %ActivDir%
In other words, the %ActivDir% macro was not substituted at all. It was added to the arguments as-is.
Is this a bug in FreeCommander? What am I doing wrong? Help me please!
Re: %ActivDir% does not work
It seem that I can achieve what I want by:
* Creating a program link / tool in the favourites toolbar
* checking the "integrate" checkbox in general settings
But it would be very good if macros where available in the "DOS PROMPT" command line setting
* Creating a program link / tool in the favourites toolbar
* checking the "integrate" checkbox in general settings
But it would be very good if macros where available in the "DOS PROMPT" command line setting
Re: %ActivDir% does not work
In the last release 765 it works fine.In other words, the %ActivDir% macro was not substituted at all. It was added to the arguments as-is.
Who is online
Users browsing this forum: No registered users and 19 guests