Run Total Commander as administrator from the Start Menu

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
lisabon
Junior Member
Junior Member
Posts: 34
Joined: 2014-11-22, 12:57 UTC

Run Total Commander as administrator from the Start Menu

Post by *lisabon »

Hello!
Maybe tell me what the problem is ...

I have:
- Total Commander v8.52a 32-bit
- Windows 8.1 64-bit
- In settings WinCmd.ini written:

Code: Select all

[Left]
path=::
ShowAllDetails=0

[Right]
path=::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
ShowAllDetails=0

[LeftTabs]
0_path=::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
activetab=0

[RightTabs]
0_path=::
activetab=1
I mean, when I run Total Commander, Total Commander open tabs virtual folders "Desktop" and "My Computer": http://s10.postimg.org/vsitcsghl/start.png

- Added to the Start Menu command "Run Total Commander as administrator" with parameters:

Code: Select all

[user]
menu1=Run Total Commander as administrator
cmd1=*%COMMANDER_EXE%
param1=%Z%X"%P" "%T" /N
http://s14.postimg.org/orylbw23l/Start_Menu_Set.png

In a typical run the Total Commander, gives no errors. As a result I have: http://s10.postimg.org/vsitcsghl/start.png

If I run the "Run Total Commander as administrator" from the Start Menu: http://s23.postimg.org/8mv4s6inf/run.png , I have the error "Drive not found": http://s17.postimg.org/u32gzv61b/error.png , after closing the dialog with the error goes to the C: drive, instead of the virtual folder "Desktop" and "My Computer."
With this run, Total Commander virtual folders does not understand?
It is a bug or limitation?
Is it possible to solve this feature of the behavior of Total Commander with this run:

Code: Select all

[user]
menu1=Run Total Commander as administrator
cmd1=*%COMMANDER_EXE%
param1=%Z%X"%P" "%T" /N
with the necessary virtual folders "Desktop" and "My Computer" in the tabs?
User avatar
Dalai
Power Member
Power Member
Posts: 10035
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

IIRC TC doesn't support opening virtual folders via parameters. It doesn't have anything to do with starting as administrator or something since it doesn't work when omitting the asterisk in the parameters field.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1052
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

You're passing something like "\\Desktop\" as path. This gets interpreted as a UNC (network) path just like "\\server\share" and since there's probably no server named "Desktop" it fails.

If you want to always open "My Computer" and "Desktop" this should work:

Code: Select all

paramX=/L=::{20D04FE0-3AEA-1069-A2D8-08002B30309D} /R=::
Post Reply