How do I manually create a file with a . (dot) prefix in Windows? For example, .htaccess

If you start Notepad and then File -> Save As -> Write .htaccess and choose “All Files” as the type – then it will create the .htaccess file for you.

Notepad save as .htaccess

Leave a Comment