How To Guides Org

Solution: You must type a file name error: .minecraft .htaccess

I often come across strange Windows errors when I develop sites locally on Windows, for example the “You must type a file name error” that you get when you try to give a file the name .minecraft or .htaccess.


Renaming .Htacces File

1. Step Open a notepad editor
2. Step Copy your htaccess rules in there
3. Step Click on Save as and when you save the file select All files from dropdown and enter “.htaccess” WITH THE QUOTES

Renaming .Minecraft Folder

Here’s the solution to the problem

1. Step Open cmd.exe
2. Step Enter cd C:\Users\sOliver\AppData\Roaming (replace sOliver with your own username)
3. Step Enter mkdir .minecraft (do not enter .minecraft2, the folder needs to be .minecraft)