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

File Explorer Folder Libraries Icon 18298

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.
  4. Remove everything from the name text field.
  5. Type a new name starting with a dot, e.g. .htaccess.

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.

Support us

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!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

2 thoughts on “You Can Create and Rename Files That Start with Dot in Windows 10”

    1. SomeGuy is correct. The appropriate way to create a file which begins with a dot and has no extension is to either use the command prompt (C:\TEMP> echo “” > .file) or to first show file name extensions, then (in Win10 at least) rename the file to start and end with a dot: (The trailing dot will be removed)

      OG Filename: buttered.toast
      New Filename: .toast.

Leave a Reply

Your email address will not be published.

Exit mobile version
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.