Original report was about not working %var% in button Parameters field.
It was explained below why it shouldn't work.
However, it is expected that %% in Parameters field should work as % in Command field, so %%var%% in Parameters field should work. And it works for external programs in Command field, but it doesn't work for internal cd command (it doesn't matter how %%var%% appears in Parameters field: written directly, transferred by input dialog called by ? mark or by %A parameter of user command).
Original report from Aug 28, 2017 wrote:To reproduce (tested in current final TC 9.0a 32 bit):
1. Make a button with cd as command and ? as a parameter, like this one:2. Use this button, in a dialog that will appear enter environment variable or pseudo environment variable and confirm it.Code: Select all
TOTALCMD#BAR#DATA cd ? %COMMANDER_EXE%,6 GoEnvVar -1
It's expected that TC then will switch to the path of environment variable, but instead nothing happens.