Optional run as administrator in button bar

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

I copied the encoded text from the quote, saved it as file.txt and mark it and go tio decode - says nothing to decode

Should decode to sudo.zip
A New Generation transformed by the Power of God
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

B64

Post by *Clo »

2tosbsas

:) Hi Reverend !

• You must save the file as *.B64

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

doesn't work either - too wierd

Ruben
A New Generation transformed by the Power of God
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

found it, UEdit's default setting was not recognized - setting it to ansi made the deal
A New Generation transformed by the Power of God
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Re: B64

Post by *Balderstrom »

Clo wrote:2tosbsas

:) Hi Reverend !

• You must save the file as *.B64

:mrgreen: KR
Claude
Clo
Extension in this case doesn't matter, Clo.
No matter if saved as a .txt file TC will decode the file according to the first 3-4 lines of header details: where the encoding type is listed.
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

can anyone post some real programm call paths?

I tried

%COMMANDER_PATH%\Sudo.exe %COMMANDER_PATH%\TOTALCMD.EXE

but it says - cannot find C:\programm
A New Generation transformed by the Power of God
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Try putting them in double quotes "".
Author of Total Commander
https://www.ghisler.com
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

using SUDO is not exactly the same thing (e.g., for buttons with parametric commandlines) therefore I also vote for a "run as administrator" as proposed in the first post.
always latest 32b TC on a WIN10 64b
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Nigurrath wrote:using SUDO is not exactly the same thing (e.g., for buttons with parametric commandlines)
It is absolutely the same. Sudo just executes exact given command line via elevation. Button's context menu 'As Administrator' item does also the same thing. The only thing you should note that elevated programs don't inherit parent process environment so your environment variables will be inaccessible, and it is so for any way of starting as administrator.
Post Reply