Define Right-Click Command Prompt for Explorer - Willy-Peter Schaub's Cave of Chamomile Simplicity

Define Right-Click Command Prompt for Explorer

I forgot how to do this trick and before I forget, here is a quick "tips and tricks" post that enables your command prompt as shown:

image

To add the Command Prompt command to the shortcut menu:

  1. Create a file, i.e. Command.reg containing:
    • Windows Registry Editor Version 5.00
      [HKEY_CLASSES_ROOT\Directory\shell\cmd]
      @="Command Prompt"
      [HKEY_CLASSES_ROOT\Directory\shell\cmd\Command]
      @="cmd.exe /k cd %L"
  2. Double-click the .reg file to add the registry entries.

... and "Cowabunga" the command prompt appears by magic.

Published Thursday, January 17, 2008 1:58 PM by willy
Filed under: ,

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: