This might seem a stupid question, but I was unable to find an answer anywhere.
So, suppose I have an open instance of TC and I want to run certain file through it as administrator. Is there a quick way - like a shortcut - to do it, other than running entire TC as administrator first?
Run a file as administrator through TC
Moderators: Hacker, petermad, Stefan2, white
Re: Run a file as administrator through TC
You can launch an application as an administrator using button, usrer_cmd ... just by adding * in front of your command.
Code: Select all
TOTALCMD#BAR#DATA
*%systemroot%\system32\control.exe
/name Microsoft.WindowsUpdate
wuapi.dll
Windows Update
-1
Re: Run a file as administrator through TC
Well, it depends on which "certain file" you want to run as admin. If it's a file in one of the file lists, you can use the context menu. If the file/command is on a button or in TC's start menu, see nsp's answer above. If it's something else, you need to be more specific.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Run a file as administrator through TC
1. Get ShelExec program from this page - http://www.naughter.com/shelexec.html
2. Put ShelExec.exe in TC directory
3. Make usercmd e.g. (add code to USERCMD.INI)
4. Make shortcut for this command (you can also make button on buttonbar)
2. Put ShelExec.exe in TC directory
3. Make usercmd e.g. (add code to USERCMD.INI)
Code: Select all
[em_shelexec_as_admin]
cmd=*%COMMANDER_PATH%\SHELEXEC.EXE
param=%P%N
button=%COMMANDER_PATH%\SHELEXEC.EXE
menu=ShelExec As Admin