2006-04-22

Open Command Prompt Here

On my XP box, when I browse to a folder where I need to open a command prompt, I just right click and have the option "Command Prompt Here'. That's available because I installed Windows XP Power Toys, which includes "Open Command Window Here" (aka cmdhere) toy.

It's possible to do the same on Windows 2003 and you can do it too:
  1. Open regedt32 and navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell folder.
  2. Add a new key called “Command Prompt“
  3. Modify the default custom string to read “Open Command Window Here“
  4. Add a new key to this folder called “command“
  5. Modify the default custom string to read: Cmd.exe /k pushd %L
  6. Changes will take effect immediately

Or just copy the lines below to a text file and rename it as something like "cmdhere.reg". Then, when you click (or double click) it, you will have the option to import it...

------ Include all lines below this line -----
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\CMD]
@="Open CMD Here"

[HKEY_CLASSES_ROOT\Folder\shell\CMD\command]
@="cmd.exe /k pushd %L"
------ Include all lines above this line -----

1 comment:

  1. Are you stuck in a job that is leading you on the path to no where?
    We can help you obtain a College Degree with classes, books, and exams
    Get a Genuine College Degree in 2 Weeks!
    Well now you can get them!

    Call this number now 24 hours a day 7 days a week (413) 208-3069

    Get these Degrees NOW!!!

    BA, BSc, MA, MSc, MBA, PHD,

    Within 2 weeks!
    No Study Required!
    100% Verifiable

    Call this number now 24 hours a day 7 days a week (413) 208-3069

    These are real, genuine, They are verifiable and student records and
    transcripts are also available. This little known secret has been
    kept quiet for years. The opportunity exists due to a legal loophole
    allowing some established colleges to award degrees at their discretion.


    With all of the attention that this news has been generating, I wouldn't
    be surprised to see this loophole closed very soon

    Get yours now, you will thank me later
    Call this number now (413) 208-3069
    We accept calls 24 hours a day 7 days a week.

    ReplyDelete