28 February 19, 07:40
Quote:
The next feature update for Windows 10, Windows 10 version 1903, will support filenames and folders that begin with a dot character in Explorer.
The news may not be super exciting for users of Linux or other operating systems that supported filenames or folders with dots in the beginning for decades, but for Windows, it is certainly a milestone.
When you try to create a filename or folder that begins with a dot character, you may notice that Windows won't allow that filename or folder to be picked for the file if you use Explorer to do so.
The error "you must type a file name" is displayed (yes also for folders) and the only option the dialog provides is to select ok to restore the old filename or folder name (if you create a new file on Windows using Explorer, a file extension is added automatically).
The limitation applies only if you don't add at least one additional dot to the file. Windows' File Explorer won't allow the creation of ".htaccess", but it does allow the creation of ".silly.filename.txt", or ".htaccess.". Similarly, it won't allow the creation of the folder ".test" but it does allow ".test."
Windows Explorer makes the creation of filenames without extension difficult. The file manager adds a file extension to new files that you create automatically. While you may remove the file extension to create a file without one, it is probably not something that most users of Windows do regularly.
Webmasters and developers might, especially if they work with web servers or Linux systems. It is not possible to create a .htaccess file from scratch using the Windows file manager, but you can copy a file like .htaccess to the Windows system and use it just like any other file that is on the system.