Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just downloaded an eclipse .project file from outlook but was not able to find it. I figured that this might be an issue because the file does not have a name and has only an extension. thus I changed its name while saving and I was able to download the file. However, The problem now, is that I am unable to rename it back to .project. This was a huge pain. Finally, I copied an existing .project into the folder I wanted and then copied the contents from the one that I downloaded into this file by opening them in a Notepad(NPP++ for me).

I was wondering how this kind of behavior is possible in windows where a file can exist with that particular name but cannot be renamed into it. Any Ideas?

I was also looking for an easier way to accomplish the task mentioned above.

Thanks in Advance!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Windows explorer do not accept file name that include nothing before dot.

Here is a way to do that:

  1. generate a foo.project file with the content you need.

  2. type cmd in run box to have the command line console

  3. go to the folder include foo.project

  4. type command: copy foo.project .project

Then you will get the .project file.

share|improve this answer
    
Thanks! helps me a lot –  MozenRath Nov 19 '12 at 14:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.