How to copy a file with administrative privileges when TC is in non-admin mode

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
dmocha
Junior Member
Junior Member
Posts: 52
Joined: 2013-05-05, 19:09 UTC
Location: Poland

How to copy a file with administrative privileges when TC is in non-admin mode

Post by *dmocha »

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.
regards
dmocha
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: How to copy a file with administrative privileges when TC is in non-admin mode

Post by *Horst.Epp »

Copy this button

Code: Select all

TOTALCMD#BAR#DATA
*%COMMANDER_EXE%
%Z/N %X"%P" "%T"
%COMMANDER_PATH%\TCMADM64.EXE
TC as Admin

0
-1
If you only have the 32bit TC change the icon path after it.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
dmocha
Junior Member
Junior Member
Posts: 52
Joined: 2013-05-05, 19:09 UTC
Location: Poland

Re: How to copy a file with administrative privileges when TC is in non-admin mode

Post by *dmocha »

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:

Code: Select all

TOTALCMD64.EXE /I=.\user_ini\mau.ini /F=.\user_ini\maf.ini
I was thinking about a kind of set of several commands in User Command
regards
dmocha
Post Reply