I am trying to create a file in Windows XP that is only the extension (“.classpath” and “.project”). While my Linux box handles this appropriately, Windows gives me the error, “You must type a file name.”
Any suggestions how to do this? I am attempting to setup an Eclipse project where I can bring in the classpath and project files from someone else’s setup and I keep getting the above error.
use the commandline to do this, windows explorer doesn’t allow renamed files to start with a period. first create the file/directory with a dummy name x.ext, then fire up cmd.exe and rename it:
this way you can also create directories which names start with a period (like .git or .meta)