Thursday, October 30, 2008

"Open Command Window Here" in Vista

The Microsoft PowerToy "Open Command Window Here" for WinXP doesn't work with Vista, and I couldn't find one I understood, so I wrote a simple registry file to do it instead. Copy and paste the text below into notepad:

REGEDIT4

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

[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /F:ON /K \"cd %L\""


Now save this as CmdHere.reg (or any other file name with a .reg extension), and then double-click to run it, observing the usual UAC and permissions rituals. Now you should see the familiar "Open Command Window Here" entry when you right-click a folder name. This code will also work on Windows XP and Windows 2000.

No comments:


Warning: The NSA and 4 million other sick weirdos with "security clearance" have intercepted this page and know that you are reading it.