Hi!
Sometime it is needed to make an archive inside a folder such as Program Files, but it is impossible when TC is not with elevated rights (Run As Administrator). So, think it will be very useful to have a possibility to run archiver with elevated rights to make archive without making it somewhere and then copying it to protected folder.
Feature request: An option to elevate rights when archiving
Moderators: Hacker, petermad, Stefan2, white
Usually TC uses plugins for packing, so it is impossible to elevate in such case. However I can suggest you to make a button to open new elevated TC instance with same folders in both panels:
So you only need to click this button and then start packing as usual in new TC instance. Also you can do any thing that requires elevation in such way (use MRT, copy with permissions, sync, edit-n-compare etc). You can find Sudo tool in my signature.
Also, if you're using external packer tools for packing, you may create packing button and run it elevated (using Sudo or via 'As Administrator' in button's context menu).
Code: Select all
Command: "%COMMANDER_PATH%\Sudo.exe" "%COMMANDER_PATH%\TOTALCMD.exe"
Parameters: %Z/N %X"%P" "%T"
Also, if you're using external packer tools for packing, you may create packing button and run it elevated (using Sudo or via 'As Administrator' in button's context menu).
Thanks for explanation 
But, your way is too long way ) I wish a feature such as "As Admin" button when copying a file, when TC tries to create a file, got error, and ask the user to try this operation with elevated rights. With external packers TC can try to create a file with provided file name, on error show dialog with buttons "As Admin" and "Cancel", on success delete this file and call extarnal packer.

But, your way is too long way ) I wish a feature such as "As Admin" button when copying a file, when TC tries to create a file, got error, and ask the user to try this operation with elevated rights. With external packers TC can try to create a file with provided file name, on error show dialog with buttons "As Admin" and "Cancel", on success delete this file and call extarnal packer.
- ghisler(Author)
- Site Admin
- Posts: 50934
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Why do you need to create an archive in "Program files"? This is quite unusual - so unusual that I haven't even considered to add such a function. TC currently only supports _unpacking_ to such folders. It's done by first unpacking the files to TEMP, and then moving them to the protected folder. This could be done with packing too.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
In this case I tried to make fast copy of the OpenVPN config folder before replacing it with another settings, copied from a folder, where I saved them because I got them by email. I tried to press Alt+Ctrl+F5 to make a copy and failed. And needed to 1) open another tab 2) select a temporary folder 3) make archive there 4) copy archive to program folder 5) delete archive in temporary folder 6) close tab with temporary folder. Too many operations for one simple archive )
Hope you add suggested feature in future )
In this case I tried to make fast copy of the OpenVPN config folder before replacing it with another settings, copied from a folder, where I saved them because I got them by email. I tried to press Alt+Ctrl+F5 to make a copy and failed. And needed to 1) open another tab 2) select a temporary folder 3) make archive there 4) copy archive to program folder 5) delete archive in temporary folder 6) close tab with temporary folder. Too many operations for one simple archive )
Hope you add suggested feature in future )