Auto start TotalCmd after update

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
KozakMak
Senior Member
Senior Member
Posts: 480
Joined: 2021-05-24, 12:39 UTC
Location: UA

Auto start TotalCmd after update

Post by *KozakMak »

In cmd line: tc1151x64_rc5.exe /I0".\"RSHG0D0 %COMMANDER_PATH%

How to make TotalCmd auto run after this?
OS: Win10 | TC: latest x64
User avatar
beb
Power Member
Power Member
Posts: 579
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Auto start TotalCmd after update

Post by *beb »

Code: Select all

tc1151x64_rc5.exe /I0".\"RSHG0D0 %COMMANDER_PATH% & %commander_exe%
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
KozakMak
Senior Member
Senior Member
Posts: 480
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Auto start TotalCmd after update

Post by *KozakMak »

nothing ¯\_(ツ)_/¯
OS: Win10 | TC: latest x64
User avatar
beb
Power Member
Power Member
Posts: 579
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Auto start TotalCmd after update

Post by *beb »

2KozakMak
The command works as intended.
You use the %COMMANDER_PATH% variable which implies you also launch the command under running TC.
Therefore the %commander_exe% variable fits there too.
In its turn upon execution, both variables return actual paths.

If you don't launch the command under running TC try to put literal paths there instead of the variables.

NB I tested it via .cmd file, something like this:
tcmd_installer_setup_and_restart_tc.cmd

Code: Select all

set "installer=tc1151x32_64_rc5.exe"
%installer% /I0".\"RSHG0D0 %commander_path% & %commander_exe%
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
KozakMak
Senior Member
Senior Member
Posts: 480
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Auto start TotalCmd after update

Post by *KozakMak »

2beb
I need it from TotalCmd cmd line: https://ibb.co/nsZgp62F

UAC prompt appears - and then nothing happens
OS: Win10 | TC: latest x64
Post Reply