DOS Prompt Here

D

Doit2it

With Vista, in Windows Explorer, when I right click on a folder and select
'DOS Prompt Here' the DOS prompt always starts in C:\Windows\system32 not
the highlighted folder. That's using the folder list on the left side. If
I try it with a folder on the right side, it opens the DOS prompt in the
parent directory of the folder I have highlighted.

What gives?
 
D

Doit2it

New system, Vista installed from Dell. Not an upgrade from XP.
And I don't have to press shift, just highlight a folder on either the right
side or the left side of Windows Explorer.
And now it has changed. The left side no longer opens any folder in the
C:\Windows\System32 folder, but in the C:\Users\"current user" folder.
 
K

Keith Miller \(MVP\)

Mark,

Apparently, any directory command with the 'Extended' (show only on <shift>
+ <right-click>) value be suppressed in the left-hand pane of Explorer.
(tested by adding 'Extended' to 'find').

Since, via OEM or hack, the OP's cmd entry lacks the 'Extended' value, it
will show on both sides.


--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]



Mark L. Ferguson said:
Sorry, it was my understanding during the beta of Vista, that left pane
rightclick would not include that feature, by design, and as expected
behavior.

--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales/help/help_en-us.htm#RateAPost

Mark L. Ferguson

.
 
K

Keith Miller \(MVP\)

Check your registry to see if the command still has its parameters.

Windows Registry Editor Version 5.00

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

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

Mark L. Ferguson

Thank you, Keith.

I guess I'm just not yet used to the new paradigm of 'you hack it, you
support it' for the new *.WIM OS distribution.

--

Mark L. Ferguson

..

Keith Miller (MVP) said:
Check your registry to see if the command still has its parameters.

Windows Registry Editor Version 5.00

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

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



--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]
 
D

Doit2it

My registry looks exactly as you showed. So what does that mean, and how do
I get DOS Prompt Here to work properly like it did in WinXP.

--
Doit2it


Keith Miller (MVP) said:
Check your registry to see if the command still has its parameters.

Windows Registry Editor Version 5.00

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

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



--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]
 
S

Synapse Syndrome

Doit2it said:
My registry looks exactly as you showed. So what does that mean, and how
do I get DOS Prompt Here to work properly like it did in WinXP.


You do not add the reg key to add it, like you did in XP. You just use the
built in function in Vista, where you right click while holding SHIFT.

ss.
 
K

Keith Miller \(MVP\)

The <shift>+<right-click> functionality comes from a registry entry.

--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]
 
K

Keith Miller \(MVP\)

As far as the right-hand pane goes, are you left-clicking a folder before
right-clicking it to make sure it is selected? 'Open Command Window Here'
is defined both for the Directory object & background -- and the behavior
you describe sounds like the background is selected when you're executing
the command.

As for the left-hand pane, are you sure you have permissions to access the
folder. When I have Explorer open to the C: drive, attempting to open a
command prompt for certain folders, such as MSOCache or System Volume
Information results in the following:

Access is denied.

C:\Windows\system32>

The same registry entry governs the command for both panes. Unless some 3rd
party add-on does something weird. Do you have any non-standard context
menu items? Did you install ANYTHING between the time it was working for
you & the time it wasn't?



--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]



Doit2it said:
My registry looks exactly as you showed. So what does that mean, and how
do I get DOS Prompt Here to work properly like it did in WinXP.

--
Doit2it


Keith Miller (MVP) said:
Check your registry to see if the command still has its parameters.

Windows Registry Editor Version 5.00

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

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



--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]



Doit2it said:
With Vista, in Windows Explorer, when I right click on a folder and
select 'DOS Prompt Here' the DOS prompt always starts in
C:\Windows\system32 not the highlighted folder. That's using the folder
list on the left side. If I try it with a folder on the right side, it
opens the DOS prompt in the parent directory of the folder I have
highlighted.

What gives?
 
K

Keith Miller \(MVP\)

Yes, but the OP doesn't think it's working properly, so I suggested
verifying it. The wording of your post seemed to imply the functionality
was hard-coded.


--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top