LO,
Sorry, Solved with double % in parameters options %%COMMANDER_PATH%%
I created a button or an entry in the start menu with this :
command : cmd
parameters : /c " set & echo. & echo COMMANDER_PATH variable : & echo %COMMANDER_PATH% & pause"
the result give me :
(extract)
...
COMMANDER_DRIVE=C:
COMMANDER_EXE=C:\wincmd\totalcmd.exe
COMMANDER_INI=C:\wincmd\p_\p_WINCMD.INI
COMMANDER_INSTANCE=1
COMMANDER_PATH=C:\wincmd
...
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
...
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 69 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=4501
...
PROMPT=$P$G
...
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=c:\Temp
TMP=c:\Temp
...
windir=C:\Windows
COMMANDER_PATH variable :
c:\wincmd\history.txtOMMANDER_PATH
Press any key to continue . . .
Did you have the same ?
c:\wincmd\history.txt correspond to the %P%N and change if I change the position of the selected line also.
OMMANDER_PATH (without C) is always added.
Regards.
Windows 7 TC9 beta 10
It didn't work also in 8.52a with a little difference.
Only OMMANDER_PATH (without C) is displayed.
%COMMANDER_PATH% not correctly interpreted
Moderators: Hacker, petermad, Stefan2, white
%COMMANDER_PATH% not correctly interpreted
Cdlt Charles.
TC commands are like using batch files: try to double the percent signs.
Code: Select all
TOTALCMD#BAR#DATA
cmd /k
ECHO Current Commander_Path is: %%Commander_Path%%
C:\Windows\system32\cmd.exe
TEST %%Commander_Path%%
-1