As Administrator missing for DOS

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Octagon
Junior Member
Junior Member
Posts: 44
Joined: 2010-06-09, 20:05 UTC

As Administrator missing for DOS

Post by *Octagon »

The new As Administrator menu entry in the button bar context menu correctly appears for programs and does not appear for internal commands. However, the cm_ExecuteDOS internal command should be an exception since it actually starts a program.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Obvious workaround:

Assign this commandline, %SystemRoot%\system32\cmd.exe, to the button instead. Or even shorter: %COMSPEC%.

Karl
Octagon
Junior Member
Junior Member
Posts: 44
Joined: 2010-06-09, 20:05 UTC

Post by *Octagon »

karlchen wrote:Obvious workaround:

Assign this commandline, %SystemRoot%\system32\cmd.exe, to the button instead. Or even shorter: %COMSPEC%.
Yes, obvious. However, the quality level of Total Commander is high and this must be considered a bug. Not a high priority one evidently, but a bug still.

If not, assuming that to be a legitimate procedure, then the very existence of the Run DOS internal command is a redundancy and, considering the TC level of quality, another bug.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

There are a lot of commands that still can't be done w/o elevated TC instance. I think that if problem may be solved using such simple trick we don't need to overload TC by such additional thing.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, elevation is only available to external programs, not to internal commands. It wouldn't make any sense for most internal commands anyway.
Author of Total Commander
https://www.ghisler.com
Post Reply