What is up.
RSS icon Email icon Home icon
  • How to start a command prompt in a folder

    Posted on June 2nd, 2005 Alan No comments

    cmd.exe /k cd path
    Here’s how to add a “command prompt here” shortcut

    Basically you add the following to your registry:

    To add the Command Prompt command to the shortcut menu:

    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate the following registry key:
    3. Right-click the shell key, point to New, and then click Key.
    4. Name the new key OpenNew.
    5. Click the OpenNew key, and then double-click the Default value in the right pane.
    6. Change the value to Command Prompt. Click OK.
    7. Right-click the OpenNew key, point to New, and then click Key.
    8. Name the new key Command.
    9. Double-click the Default item in the right pane.
    10. Change the value to cmd.exe /k cd %1.

    Leave a reply

    You must be logged in to post a comment.