Windows Restrictions on folder names

Source: Internet
Author: User

For some reasons, such as serial port placementProgramAfter a directory is named COM1, Windows automatically rolls it back to "new folder" or "New forlder ",

In the past, windows could not name files or folders by device name, while COM1 was the name of a device in the DOS era, not only COM1, but not any of the following names.
Con
Aux
COM1
Com2
Com3
Com4
LPT1
LPT1
Lpt2
Lpt3
Nul

You can create a directory as follows:
CMD --> md d: "Aux"

However, the Created directory cannot be opened from EXPLORER. You must use the UNC path to delete the directory.
Rd "." D: "Aux"

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.