I would ask for information on how to copy a file with administrative privilege when TC is running without these permissions.
In general, I would like to make a button (for example batch command) in which the command would be included (in this order):
- complete the application process
- copying the file with the right admin
- starting the process
Everything is (almost) simple, just do not know how to run operations with the right admin.
I know that you have to enter an asterisk at the beginning of the path to elevate the permissions.
I have tried several ways to create a batch, but I am not successful in raising these rights
For various reasons, I don't want to run TC with administrative privilege.
How to copy a file with administrative privileges when TC is in non-admin mode
Moderators: Hacker, petermad, Stefan2, white
Re: How to copy a file with administrative privileges when TC is in non-admin mode
Copy this button
If you only have the 32bit TC change the icon path after it.
Code: Select all
TOTALCMD#BAR#DATA
*%COMMANDER_EXE%
%Z/N %X"%P" "%T"
%COMMANDER_PATH%\TCMADM64.EXE
TC as Admin
0
-1
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Re: How to copy a file with administrative privileges when TC is in non-admin mode
As I understand, when I use this button I can only run the second TC instance, but with administrative law?
And does it mean that I can not only run the copies command itself?
It does not work, maybe because I use configuration, as startup parameters:
I was thinking about a kind of set of several commands in User Command
And does it mean that I can not only run the copies command itself?
It does not work, maybe because I use configuration, as startup parameters:
Code: Select all
TOTALCMD64.EXE /I=.\user_ini\mau.ini /F=.\user_ini\maf.ini
regards
dmocha
dmocha