As you may already know, Microsoft recently released Build 18342 of Windows 10. This build is a pre-release version of the next Windows 10 version, currently known as version 1903, April 2019 Update, or 19H1. It adds the ability to create and rename a file those name starts with a dot.
Linux users must be familiar with .dot files. They are normally hidden in the default view in most file manager apps in Linux, both GUI and console. Dot files usually store configuration for various console and GUI apps, logs, and other data for the current user. Thanks to the WSL feature in Windows 10, that now allows exploring the Linux file system of the installed distros with File Explorer, it is necessary to make File Explorer handle dot files properly.
File Explorer is the default file management application which comes bundled with every modern version of Windows. It allows the user to perform all basic file operations like copy, move, delete, rename and so on. Besides file management operations, Explorer.exe also implements the shell - the Desktop, taskbar, desktop icons and also the Start menu are parts of the Explorer app.
Prior to build Windows 10 Build 18342, File Explorer didn't allow to create you a file with a name starting with a dot. File Explorer will now allow you to rename a file to be something like “.gitignore” – previously there would be an error stating that you needed to provide a name.
To Create a File With a Name Starting with a Dot in Windows 10,
- Open File Explorer.
- Navigate to the folder of your choice.
- Right-click on the empty space and choose New - Text Document from the context menu.
- Remove everything from the name text field.
- Type a new name starting with a dot, e.g.
You are done. Now you have a file whose name starts with a dot. This way, you can create and edit configuration files for your WSL apps.
Check out the following articles:
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!