Run as Admin from console

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
quazi
Junior Member
Junior Member
Posts: 17
Joined: 2021-05-12, 10:05 UTC

Run as Admin from console

Post by *quazi »

I can run any command as admin by pressing Win+R MY_COMMAND Ctrl+Shift+Enter
Is it possible to run commands from Total Commander console by the same way? Because it is a bit tricky to copy/paste path for special cmd instance all time when I have to run script as admin
Fla$her
Power Member
Power Member
Posts: 2998
Joined: 2020-01-18, 04:03 UTC

Re: Run as Admin from console

Post by *Fla$her »

The script from the button or em_command is launched by * in front of the path. What does the console have to do with it? TC doesn't have own console. Command line, maybe? Set AlwaysAsAdmin=1 for the [Configuration] section and run TC with elevated rights from URL shortcut.
Overquoting is evil! 👎
Post Reply