Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Open elevated command window here

30 Mar 2010   #1

Windows 7 Ultimate 64-bit
 
 
Open elevated command window here

I could prolly figure it out but does anyone know offhand how to add an "Open elevated command window here" option in addition to the "Open command window here" shift+context menu for a folder?


My System SpecsSystem Spec
.

30 Mar 2010   #2

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, clean install, upgrade disc
 
 

Hope this helps

Command Prompt. From our excellent tutorial collection
My System SpecsSystem Spec
30 Mar 2010   #3
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Mike,

Here you go mate.

Open Command Window Here as Administrator

Hope this helps,
Shawn
My System SpecsSystem Spec
.


31 Mar 2010   #4

Windows 7 Ultimate 64-bit
 
 

I must be having a dull moment. I know how to shift+right click and get a command prompt. I'd like an elevated one the same way?
My System SpecsSystem Spec
31 Mar 2010   #5

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Shift+control+right click on a folder and choose open command window.
My System SpecsSystem Spec
31 Mar 2010   #6

Windows 2000 5.0 Build 2195
 
 

Guys. ELEVATED.

Edit 1: Okay, I'm currently experementing. Just a few more minutes and I can post a fix :P

Edit 2: Got it finally!! (I needed this too)

Open Command Window Here as Administrator

Add these keys:
Code:
 
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Open elevated command window here"
"Extended"=""
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
My System SpecsSystem Spec
31 Mar 2010   #7

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by arkhi View Post
Guys. ELEVATED.

Edit 1: Okay, I'm currently experementing. Just a few more minutes and I can post a fix :P

Edit 2: Got it finally!! (I needed this too)

Add these keys:
Code:
 
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Open elevated command window here"
"Extended"=""
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
Now can you explain it? Thanks! Edit: Never mind -- i get the picture now
My System SpecsSystem Spec
01 Apr 2010   #8

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by arkhi View Post
Guys. ELEVATED.

Edit 1: Okay, I'm currently experementing. Just a few more minutes and I can post a fix :P

Edit 2: Got it finally!! (I needed this too)

Open Command Window Here as Administrator

Add these keys:
Code:
 
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Open elevated command window here"
"Extended"=""
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
Nice. What's the Extended and NoWorkingDirectory for? I get the quoting issues and push/pop of the path.
My System SpecsSystem Spec
Reply

 Open elevated command window here




Thread Tools



Similar help and support threads for2: Open elevated command window here
Thread Forum
Open Command Window Here Tutorials
Open Command Window Here as Administrator Tutorials
Solved No REG Command in "Open elevated command window here" DOS Box General Discussion
Open Command Window Here - Add or Remove Tutorials
Solved Open Network window with a command? Customization
Open Command Window Here General Discussion
How to open Elevated Command Prompt? Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:06 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33