When trying to name a file with an “invalid” name, notepad can come to your rescue! Ever try to create a .htaccess file on Windows? You’ll get the following error message:
You must type in a filename
Windows doesn’t like files with only a suffix. However, an .htaccess file is a special, and an often necessary component in many web applications. If you happen to be running a web server on your Windows box, this presents a problem.
You can get around this problem by using notepad. Simply open notepad and save the file. During the save dialog type do the following:
When you hit “Save,” the file will appear and everything will be dandy.