You Can Create and Rename Files That Start with Dot in Windows 10

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,

  1. Open File Explorer.
  2. Navigate to the folder of your choice.
  3. Right-click on the empty space and choose New - Text Document from the context menu.File Explorer New Text Document
  4. Remove everything from the name text field.Remove From Name 1 Remove From Name 2
  5. Type a new name starting with a dot, e.g. .htaccess.Create A File With A Name Starting With A Dot In Windows 10 1 Create A File With A Name Starting With A Dot In Windows 10 2

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:

That's it.

Leave a Reply

Your email address will not be published. Required fields are marked *