Under Windows, rename a prefix with "." Error problem with dot character's name

Source: Internet
Author: User

If you rename with a normal right-click , you will definitely get an error, such as:

There is a file called project, and I want to name it. Project with a prefix dot. The window then gives an error, and a dialog box pops up so that "you must enter a file name." It may imply that this is a file suffix. So it's "illegal". But eclipse's engineering files must be named this way, and then be recognized when importing projects with Eclipse. That is, you must have this prefix dot. Such a naming method does not work with the CMD window can be modified with the command line, as follows:

Move project. Project

It is similar to renaming files under Linux.

Or you can open the project file for Eclipse with Notepad, because the project file is essentially the document format of the XML and then saved as a file with a prefix dot.

References

Http://stackoverflow.com/questions/5004633/how-to-manually-create-a-file-with-a-dot-prefix-in-windows-for-example-htacce

Under Windows, rename a prefix with "." Error problem with dot character's name

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.