Thursday, May 25, 2006

command prompt at right click of windows explorer

Again finding the solution on google for which I have visited google earlier 10 times.

AW, if you want to add command prompt at right click then follow the instructions:
NOTE: Do it at your own risk.
  1. Go to the HKEY_CLASSES_ROOT\Folder\shell node in the registry (note that Folder includes drives and directories).
  2. Create a new key (from the right-click menu), and call it "DOS prompt".
  3. Under that new key, create a sub-key named "command".
  4. Under that new key (i.e under HKEY_CLASSES_ROOT\Directory\shell\DOS prompt\command), edit the (Default) String value and give it the following value: "c:\winnt\system32\cmd.exe %1" (or whatever the path to cmd.exe is on your system).
  5. Now, you can open a DOS window by right-clicking on any directory name in the Windows explorer.

Source: http://www.everything2.com/index.pl?node_id=996250

No comments: