Is there a way to set up a command-line that would start TCMD with Admin rights -- not selecting that through Advanced properties on a shortcut, but building it into the command-line to start the program?
Regards,
Chuck Billow
Launching TCMD with Admin rights
Moderators: Hacker, petermad, Stefan2, white
You can utilize RUNAS
Type 'runas /?' into an DOS-Box.
You can also use an running TC to start another instance with admin rights:
http://ghisler.ch/board/viewtopic.php?t=40187
BTW, for others:
http://www.ghisler.ch/wiki/index.php/Command_line_parameters
runas is a bad choice for starting elevated processes, it simply doesn't allow that.
I've written a tiny Sudo tool for such tasks.
I've written a tiny Sudo tool for such tasks.
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Or copy the TC desktop link to a new link, then right click and choose "Properties". In "Advanced", you can choose to start Total Commander with admin rights.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com