How to create .htaccess file?

After publishing m previous article many people are asking me that how should they create the .htaccess file in Windows OS. First of all let us make this thing clear that you will not be able to create .htaccess file on a Windows OS because in Windows you require to name a given file but in this case we are just creating a file without name and just extension which will be illegal for a Windows OS.