Open command window as administrator pointing on folder

reg add "HKLM\SOFTWARE\Classes\Directory\shell\runas" /ve /t REG_SZ /d "Open Command Window Here as Administrator" /f
reg add "HKLM\SOFTWARE\Classes\Directory\shell\runas\command" /ve /t REG_SZ /d "cmd.exe /s /k pushd \"%V\"" /f
This will let you open command windows in folder where you pointing on

2 comments: