Change DOS default path two strokes

Source: Internet
Author: User
Keywords nbsp; change select can pass
Dos,http://www.aliyun.com/zixun/aggregation/29800.html ">disk keyboard-based System. The former Microsoft's disk operating system, presumably everyone has not forgotten! Although Microsoft Windows is rampant, it still finds its traces. Using DOS in Windows will be more humane, but some default properties are not interfering with you, as the DOS initial default path mentioned in this article. But never mind, read this article, you can control it!

In the Windows NT system, the name of the DOS has become more "command Prompt", click "start → attachment → command prompt" to see the Classic DOS window. Note that the default path after opening is already the path to the current user's proprietary folder store, such as "C:\Documents and Settings\Administrator" instead of the root directory of the original pure DOS system, each time the author has to perform "cd\" Switching to the root directory and converting to another directory is inefficient. There are two solutions, which the reader chooses according to interest.

Method One: Modify by "Computer Management"
Right-click on the My Computer icon (both the desktop and the Start menu), select the Manage command, and pop up the Computer Management window as shown in Figure 1. In the left directory tree, expand System tools → local Users and groups → users, and then double-click the user name in the right window, such as "Administrator" in this article. Switch to the Profile tab in the Pop-up Administrator Properties window, select Local path in main file, enter C:\ (you can certainly modify to another path), and click OK to return. The cancellation of the system takes effect.

Method Two: Modify by shortcut
The previous method is global to the user system, that is, whether you open a command prompt by using the CMD command or a shortcut, the default path is the new path that you specify. Of course, we can also add parameters to the shortcut to temporarily change the default path.

Open "start → program → attachment", right click "Command Prompt", select Menu "Properties", on the "Shortcut" tab page "target", after the original character plus half corner status space, enter the path, click OK to exit. A command prompt that is activated by this shortcut later, the default path is the path in the parameter.

How, choose both methods, is not have the N default path. (How is n, because you can create n shortcuts!)

Related Article

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.