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: Problems about windows 7 "open command window here" shift-right click

02 Jan 2012   #1
datactrl

Windows 7 Home Premium 32bit
 
 
Problems about windows 7 "open command window here" shift-right click

When I clicked on "open command window here" on shift-right click menu. It shows me an error message as the attachment. Before it works fine until last month. Does Windows last update update caused that problem or I did something wrong?




Attached Thumbnails
-prompt.png  
My System SpecsSystem Spec
.
02 Jan 2012   #2
Hipster Doofus

Windows 7 Pro x64 -- PCLinuxOS KDE4 FullMonty 2011
 
 

Can you open a command prompt by using run? Windows Key + R - type cmd
My System SpecsSystem Spec
02 Jan 2012   #3
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

Hello Datactrl,

That error message usually indicates that the associations for it may be incorrect. See if downloading and merging the cmd option in the tutorial below may be able to help fix this afterwards. It will restore the default associations for this.

Default File Type Associations - Restore

Hope this helps,
Shawn
My System SpecsSystem Spec
.

03 Jan 2012   #4
datactrl

Windows 7 Home Premium 32bit
 
 
command window here

Press Window key+R will come up RUN window and type CMD and 'enter' it will create command window.

Download Windows default association files and merge successfully. But the problem is the same.

I have one desktop PC and one laptop PC have the same problems. I wonder it's caused by the MS Windows latest update.
My System SpecsSystem Spec
03 Jan 2012   #5
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

Do you have any issues with running any other .exe files?

If so, download and merge the exe option in the same tutorial above to restore it's default associations.


If not, then you could also do a system restore using a restore point (if available) dated before this issue to hopefully undo the cause and fix it.
My System SpecsSystem Spec
03 Jan 2012   #6
datactrl

Windows 7 Home Premium 32bit
 
 
open command window here

Merge EXE association won't work. I can't restore system because after that point I have something important installed.
My System SpecsSystem Spec
03 Jan 2012   #7
Hipster Doofus

Windows 7 Pro x64 -- PCLinuxOS KDE4 FullMonty 2011
 
 

Sounds like that "open command window here" has been corrupted some how. Check the path in the registry. Windows key + R, type cmd.

Navigate to this path> DO NOT MAKE ANY CHANGES UNLESS YOU KNOW WHAT YOU ARE DOING.

HKEY_CLASSES_ROOT\Directory\shell\runas. On the right you should see
Default REG_SZ Open Command Prompt Here
HasLUAShield REG_SZ

HKEY_CLASSES_ROOT\Directory\shell\runas\command.
Default REG_SZ cmd.exe /s /k pushd \"%V\"

What do you have?
My System SpecsSystem Spec
03 Jan 2012   #8
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

If you like downloading and merging the Directory option from the same tutorial below will restore those registry entries back to default like in Hipster's (Ken's) post above.

Default File Type Associations - Restore
My System SpecsSystem Spec
03 Jan 2012   #9
Hipster Doofus

Windows 7 Pro x64 -- PCLinuxOS KDE4 FullMonty 2011
 
 

That's a much easier way Shawn. Wasn't sure if it would rewrite the values or create another 'open' option.
My System SpecsSystem Spec
03 Jan 2012   #10
datactrl

Windows 7 Home Premium 32bit
 
 

Thank you so much, Hipster and Brink. After merge directory option, it works now!
My System SpecsSystem Spec
Reply

 Problems about windows 7 "open command window here" shift-right click




Thread Tools





Similar help and support threads
Thread Forum
Open Command Window Here - Add or Remove Shift + Right Click
How to Use "Open Command Window Here" Context Menu Item without Shift+ Right Click This will show you how to add or remove having to press Shift and right clicking on a folder or drive to use the Open Command Window Here from the context menu item for all users in Vista, Windows 7, and Windows...
Tutorials
Move "Scan with Microsoft Security Essentials" to Shift+Right Click
Hi All. I recently moved from Avast to MSE and I was wondering if there was a way to shift the Scan with MSE context menu item to the Shift+Right Click menu instead. I did a little googling and tried the "extended" registry key but that didn't seem to work (unless I put it in the wrong place)....
Customization
Missing "Open With" command with right-click
Hi Folks: If I right-click a single file, the "open with" command is missing in Windows 7 Home Premium.:( How do I fix this missing command? Thanks, MS:D
General Discussion
Can't open cmd through "open command window here"
I have searched and do everything on fixing the registry, but still I can't open the CMD by right click in a folder and choose "open command window here." The windows says: "THis file does not have a program associated with it for performing this action. Please install or if one is installed...
General Discussion
No REG Command in "Open elevated command window here" DOS Box
I have used the @="cmd.exe /s /k pushd \"%V\"" type of Registry mod to obtain a context menu "Open elevated command window here" menu item, such as in the "Open elevated command window here" thread ( http://www.sevenforums.com/general-discussion/75069-open-elevated-command-window-here.html ). ...
General Discussion
Mouse click opens new program, window, tab etc. after "idle"
Hello. First, sorry about my bad english. I'll try my best. And the problem. Installed Windows 7 Ultimate 32 bit on my computer. It's working with that 30 days trial now, cos I'm testin how does it work on my HTPC. It runs fine, no crashes or BSOD. I can use it and no problems. It is...
General Discussion

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 07:14.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App