dindog wrote: ↑2020-01-20, 21:57 UTC
there is a A flag for not openning archive , like S for "source"
yes, it's for
%COMMANDER_EXE%, typing which with needed flags and path is way longer than typing
cd <path>Fla$her wrote: ↑2020-01-20, 22:57 UTCSince I am the author of the idea, I can say with confidence that this trick works perfectly from the command line
I have this in [PackerPlugins]:
Code: Select all
pe_res_dummy=223,c:\backup_c\Program Files\totalcmd\Archivers\wcx_resextract_1.1.1c\ResExtract.wcx
so when I execute from command line:
cd c:\totalcmd\TOTALCMD.exe
TC opens TOTALCMD.exe as archive using ResExtract.wcx.
If I try from command line:
cd c:\totalcmd\TOTALCMD.exe\:
or
cd "c:\totalcmd\TOTALCMD.exe\:"
Total Commander doesn't change current directory.
If I try from command line:
cd c:\totalcmd\TOTALCMD.exe:
or
cd "c:\totalcmd\TOTALCMD.exe:"
TC opens c:\totalcmd\ but focus goes on [..] item.
Edit:
tckb.ru wrote:Для того, чтобы была возможность и из командной строки осуществлять описанный переход по cd, необходимо на странице Разное создать псевдоним "cd" для аналогичной команды в usercmd.ini.
So basically to make it work in command line the article suggests to create for cd command an alias with the same name which will execute a user command with internal cd as a command. Then it won't be a pure internal cd anymore.