View Single Post
Old 06-06-2008   #7 (permalink)
Paul Randall


 
 

Re: Add context menu item for background of open folder window?

http://www.microsoft.com/windowsxp/d...powertoys.mspx

Update:
I thought my old 'Open Command Window Here' came as a Power Toy, but I
don't know its vintage.

My old command prompt here registry entry:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\Command Prompt]
@="Open Command Prompt In Folder"

[HKEY_CLASSES_ROOT\Folder\shell\Command Prompt\Command]
@="cmd.exe /k pushd %L"

New Power Toy downloaded June 6, 2008 registry entry:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Open Command Window Here"

[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

I think the main difference is that my old menu item uses pushd %L to
navigatge to the path of the folder icon that was right clicked, while
the new power toy uses \"cd %L\" to do the same thing. My old one
shows up as a context menu entry for .ZIP files, but the new power toy
does not show up for .Zip files.

-Paul Randall
My System SpecsSystem Spec