one button update: my button code doesn't work, why?

English support forum

Moderators: Hacker, petermad, Stefan2, white

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

one button update: my button code doesn't work, why?

Post by *KozakMak »

Code: Select all

TOTALCMD#BAR#DATA
%ComSpec% /c
if %E==exe (start "" %P%N /I0".\"RSHM0G0D0 %COMMANDER_PATH%)
wcmicon2.dll,12



-1
I want update TC with selected installer and parameters. Why this button doesn't work?
OS: Win10 | TC: latest x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: one button update: my button code doesn't work, why?

Post by *ghisler(Author) »

Put a ? at the start of the parameters to see what exactly is passed to cmd.exe.
Author of Total Commander
https://www.ghisler.com
KozakMak
Senior Member
Senior Member
Posts: 489
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: one button update: my button code doesn't work, why?

Post by *KozakMak »

thx
must be: if %E==exe (start "" %P%N /I0".\"RSHM0G0D0 %%COMMANDER_PATH%%)
OS: Win10 | TC: latest x64
Post Reply