CMD:[1] Open the cmd command under the current folder

Source: Internet
Author: User

SOURCE http://jingyan.baidu.com/article/22a299b51e7ad89e19376ad5.html

For computer veteran, in the process of using Windows system, often need to enter some commands in the CMD window to operate. But if each time is in the CMD window with the CD command to the corresponding folder directory, it is inconvenient, especially in the folder hierarchy more and with the premise of the Chinese directory. If you often use CMD, each time will therefore waste some time, in fact, there is a faster way to open cmd in the current directory, some ghost system in the package, the technician has been set up, if you do not have in the system, we can also add themselves.

Tools/Materials
  • Windows7 system

  • Registry Editor

    Method One

    While holding down the SHIFT key on your keyboard, right-click on the folder you want to manipulate (the DOS age is called the directory) and the "Open command Window Here" appears in the popup menu, and you can test it without pressing the SHIFT key.

    Click to open the CMD window directly, the effect, directly enter your powerful command bar! (Some features in the Windows system are really not flattering).

    Modifying registry methods
    1. 1

      The above method is feasible in Windows7, but for lazy people, it is not refreshing to press the SHIFT key, we can add this function directly in the right mouse button by modifying the registry.

      Copy the following into Notepad and save as a. reg file.

      Windows Registry Editor Version 5.00

      [Hkey_classes_root\folder\shell\cmd]

      @= "Open cmd at this location"

      [Hkey_classes_root\folder\shell\cmd\command]

      @= "cmd.exe/k cd%1"

      Save it as a file with a. reg extension. All files must be selected in the file type, otherwise the saved file will still be formatted as *.reg.txt, and the name of the file can be entered casually.

      Double-click Import Registry!

      You can open the cmd window and automatically enter the current path by opening the right mouse button on any folder.

      How to delete
        1. 1

          To remove this feature, add a "-" number directly before each registry entry for the registry file above, and then import it after saving.

          If you have this feature on your system and you do not use any commands at all, this menu appears superfluous or can be deleted in this way.

          Precautions

          • Method 2 is suitable for frequently used personal computers and is equipped with various usage environments.

          • Method 1 is suitable for temporary use on other computers.

          • It is not recommended to manually operate the registration form with a new computer.

Cmd:[1] Open the CMD command under the current folder

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.