Ctrl-Shift-G
Posted: 2009-11-29, 13:48 UTC
please add a shortcut: Ctrl-Shift-G running cmd.exe as administror.
Please note that that tab changes global compatibility options for CMD.exe and not only for created link file.Sombra wrote:- Right click in the new shortcut > Options > Avanced options > Check run as administrator.
hmmm... I can't get the behavior described by you. If I run cmd.EXE, then it is opened as a normal user and if I launch "CMDasAdmin.LNK" it is launched as administrator (with the corresponding elevation prompt).Please note that that tab changes global compatibility options for CMD.exe and not only for created link file.
Hmmm... Perhaps MS changed this thing, in XP compatibility properties are common for file and all its links and stored in special registry key.Sombra wrote:Hello MVV,
hmmm... I can't get the behavior described by you. If I run cmd.EXE, then it is opened as a normal user and if I launch "CMDasAdmin.LNK" it is launched as administrator (with the corresponding elevation prompt).Please note that that tab changes global compatibility options for CMD.exe and not only for created link file.
This was done/tested under W7 Home premium.
Workaround is here.cheming wrote:Sudo.exe doesn't know %COMMANDER_PATH%
Oops... How do you get COMMANDER_PATH if you use em_sudo? What command and parameters did you specified for it? I don't think out how em_sudo may be better than just button with command sudo.exe <command> - it doesn't allow you to enter parameters. If you want to run file under cursor, you need to create em_sudo with command sudo.exe and parameter %P%N. How do you want to use your em_sudo?cheming wrote:I defined a user cmd: em_Sudo and used it in a button but I found it didn't work, why?