Rational Dev

Create A DOS Prompt Window From The Selected Windows Explorer Directory

Being able to create a DOS prompt at the directory you are currently browsing in a Windows Explorer session can save you some time. See below for how to create a DOS Prompt Here right click menu option from Windows Explorer.

This works for Windows XP. You may have to make some changes for other versions of Windows, eg the registry editor version. Stick the following in a file with a name something like DosPromptHere.reg and run it.


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Drive\shell\cmdprmpt]
@="DOS Prompt Here"

[HKEY_CLASSES_ROOT\Drive\shell\cmdprmpt\command]
@="cmd /K \"cd %L&&dir/w/o/p\""

[HKEY_CLASSES_ROOT\Directory\shell\cmdprmpt]
@="DOS Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\cmdprmpt\command]
@="cmd /K \"cd %L&&dir/w/o/p\""

Posted On: March 26, 2007 - 2:08pm by Rational
( categories: )

User login

Google

BusGoldRew_163x104
CCGBCR_CardArt_156x100

Navigation