The path in the CMD command contains spaces

Source: Internet
Author: User
1) abbreviation. For example, c: \ Program Files is abbreviated as c: \ progra ~ 1
Check whether the naming rule is correct:
The system uses the 8-character abbreviation, that is, to write the first six letters (omitted from the blank space), plus the wave number and 1, with less than six letters at the first letter, omitted to the blank, and used the second letter, make up six. For example:
"Documents and Settings" -- release E ~ 1
"Local Settings" -- locals ~ 1 (note that the blank space is omitted, and the second letter is used to make it into six, plus the Tilde and 1 ).

What if the first six characters of multiple files are the same? Why is the last digit 1 instead of 0 or another number? Let's look at this example.
Suppose the following is the folder in the root directory of your C drive:
Program Files
Progra File
Progra Zhang
The three directories are represented as c: \ progra ~ 1; C: \ progra ~ 2; C: \ progra ~ 3;

2) create an image. For example, enter subst w: "C: \ Documents ents and Settings \ your eshared" in cmd ". Then we can directly replace c: \ Documents and Settings \ your eshared with W: \.

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.