Run two mixed commands in one button

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
liamZ
Junior Member
Junior Member
Posts: 23
Joined: 2014-12-28, 20:04 UTC

Run two mixed commands in one button

Post by *liamZ »

Hi, I wonder how to run first a bat file and then a build-in command in the same button.
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

Make user command for batch (em_), then use command chain.
liamZ
Junior Member
Junior Member
Posts: 23
Joined: 2014-12-28, 20:04 UTC

Post by *liamZ »

Gral wrote:Make user command for batch (em_), then use command chain.
Thanks a lot!!!

What I was trying to do is to make a button to restart TC as TrustedInstaller.

So this is what I did:

em_usercmd1 starts a bat file with the parameter %%COMMANDER_EXE%%
and uses the tool PowerRun to start TC as TrustedInstaller after waiting 1 second.

And the button run the commands: em_usercmd1, cm_Exit

Maybe there is a better way to do it?
Post Reply