Go Back   Tech Support Forum > Microsoft Support > Windows 7 , Windows Vista Support

User Tag List

[Solved]"Open file location" opens command prompt instead

This is a discussion on [Solved]"Open file location" opens command prompt instead within the Windows 7 , Windows Vista Support forums, part of the Tech Support Forum category. In Windows 7, whenever I try to select "Open file location" from the right click menu of a shortcut, instead


Closed Thread
 
Thread Tools Search this Thread
Old 07-07-2010, 09:54 AM   #1
Registered Member
 
Join Date: Jul 2008
Posts: 15
OS: Windows 7



In Windows 7, whenever I try to select "Open file location" from the right click menu of a shortcut, instead of opening the folder in explorer, it opens a command prompt window with the directory set to file location instead. The same thing happens when I select "Show in Windows Explorer" in iTunes.

How do I fix this?
marcusbrute is offline  
Sponsored Links
Advertisement
 
Old 07-08-2010, 04:42 PM   #2
Moderator
- Microsoft Support
 
jenae's Avatar
 
Join Date: Jun 2008
Location: Sydney
Posts: 7,707
OS: XP, Vista, Seven, & a whole host you would never have heard of.Windows Ten 64 bit Pro



Hi, sorry for the delay, we down unders are having problems accessing the site. Both Vista and seven have the option to "open command prompt here" it looks like this has been associated with the context menu "open file location" very unusual. I wonder if Bonjour has anything to do with this (comes with I Tunes) you might prevent it from startup (not needed) under Msconfig uncheck it... is known as Responder has some letters before it like Mdns Responder.exe (or similar thats the one).

I would like to see the contents of this registry key (perfectly safe for you to do) open a Command prompt as administrator (start ,all programs, accessories right click command prompt select "run as administrator" at the prompt type:-

Code:
regedit /e C:\Note.txt "HKEY_CLASSES_ROOT\Directory\shell" & start notepad C:\note.txt
Press enter.

Copy the notepad contents here.
__________________
jenae is offline  
Old 07-08-2010, 04:58 PM   #3
Registered Member
 
Join Date: Jul 2008
Posts: 15
OS: Windows 7



Here it is:

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell]
@="cmd"

[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Directory\shell\find]
"LegacyDisable"=""
"SuppressionPolicy"=dword:00000080

[HKEY_CLASSES_ROOT\Directory\shell\find\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
  65,00,00,00
"DelegateExecute"="{a015411a-f97d-4ef3-8425-8a38d022aebc}"
marcusbrute is offline  
Sponsored Links
Advertisement
 
Old 07-08-2010, 05:24 PM   #4
Moderator
- Microsoft Support
 
jenae's Avatar
 
Join Date: Jun 2008
Location: Sydney
Posts: 7,707
OS: XP, Vista, Seven, & a whole host you would never have heard of.Windows Ten 64 bit Pro



Hi, I have taken a copy of that key for you , you might like to do the same (just use "save as" in notepad) call it Open.reg and save it to your desktop, any problems and we can restore it from there. Somehow your registry has been altered, to point to CMD it might be malware or some mod that came with a program (Bonjour is a candidate).

Copy and paste all below into notepad then "save as" call it Fix.reg and save to desktop, double click the saved file to merge into registry, Reboot to take effect.


Code:
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\shell]
@="cmd"

[HKEY_CLASSES_ROOT\Directory\shell]
@="none"
__________________
jenae is offline  
Old 07-08-2010, 08:35 PM   #5
Registered Member
 
Join Date: Jul 2008
Posts: 15
OS: Windows 7



It worked. Thanks.
marcusbrute is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2
Powered by vBadvanced CMPS v3.2.3


All times are GMT -7. The time now is 12:10 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.1.0 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright 2001 - 2018, Tech Support Forum

Windows 10 - Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts