Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to quickly open the dos command window of the current folder

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to quickly open the dos command window of the current folder, the article is very detailed, has a certain reference value, interested friends must read it!

1. Conventional methods:

Of course, it is relatively slow to type by hand, but it will help you to master the basic cd operation.

1. Use the "window + R" key combination and enter cmd enter. As shown in the following figure:

2. If you want to navigate to the specified folder, you need to use commands such as cd to deal with it. As shown in the following figure:

Second, fast method: as if win7 and above are supported, xp and 2003 can be implemented through the registry

Hold down the "shift" key, then right-click, and select "Open Command window here" in the pop-up window. As shown in the following figure:

Xp and 2003 are implemented through the registry: you can see it directly by right-clicking.

1. Open the registry (regedit)

two。 Find the following path HKEY_CLASSES_ROOT\ Folder\ shell

3. New item: CmdPrompt and set the default value: "enter DOS" (without quotation marks, the text displayed on the right-click menu can be changed at will)

4. Create a new item Command under CmdPrompt and set the default value: "cmd.exe / k cd l" (without quotation marks, the last l is L, not 1)

Or directly save the following file as do.reg

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\ Directory\ shell\ CmdPrompt] @ = "enter the DOS command line" [HKEY_CLASSES_ROOT\ Directory\ shell\ CmdPrompt\ Command] @ = "cmd.exe / k cd% l"

After execution, you can see the following figure:

For more details, please refer to this article: https://www.yisu.com/article/26696.htm

The third is the method commonly used by editors in the past:

On the one hand, because of the above method, if you don't see this article and the system shortcuts are not known,

For example, if we want to open the command line in the "F:\ edit\ jb51tools\ study" directory, we can create a new cmd file, such as do.cmd, under the "F:\ edit\ jb51tools\ study" directory, which contains cmd.exe double-click to open it.

Double-click to run do.bat and you can see the effect shown in the following figure

The above is all the contents of the article "how to quickly open the dos command window of the current folder". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report