command shell window: start it as admin via user menu F9
Posted: 26 Nov 2009, 14:40
In Win 7, several simple command line commands require higher privileges, e.g. mklink can't be run as ordinary user. Hence, I'd like to be able to start the command shell not only as me, but also as admin. Salamander itself seems not to support this (I searched help & forum). Hence, I tried to solve it via user menu (F9) but failed. Maybe you know a solution?
$(WinDir)\System32\Rundll32.exe shell32.dll,OpenAs_RunDLL as suggested in http://forum.altap.cz/viewtopic.php?f=4 ... hell#p3688 does ask with which application instead of as which user (like the name suggests) to open the command shell .
runas /user:administrator cmd requires 1) to enter a password ech time and 2) to set a password for admin (which is not standard), hence it's not a comfortable solition.
My User Menu entry
Name: CMD as Admin
Command: I don't know yet
Arguments: %ComSpec% (this is where cmd.exe is located)
Directory: $(FullPath) (so it shall be called
$(WinDir)\System32\Rundll32.exe shell32.dll,OpenAs_RunDLL as suggested in http://forum.altap.cz/viewtopic.php?f=4 ... hell#p3688 does ask with which application instead of as which user (like the name suggests) to open the command shell .
runas /user:administrator cmd requires 1) to enter a password ech time and 2) to set a password for admin (which is not standard), hence it's not a comfortable solition.
My User Menu entry
Name: CMD as Admin
Command: I don't know yet
Arguments: %ComSpec% (this is where cmd.exe is located)
Directory: $(FullPath) (so it shall be called