Ubuntu and openSUSE shortcuts in Windows 10's Start menu

Windows 10’s April 2019 Update brings a long-awaited feature: Support for easily accessing, viewing, and even modifying Windows Subsystem for Linux (WSL) files from File Explorer or via the command line.

Previously, it was possible to find your Linux files in your AppData folder, but Microsoft warns against that. Modifying files here would break things. Now, there’s an easier, official way to access these files with Windows tools—without the risk of breaking anything!

Microsoft’s Craig Loewen explains how it works: Rather than accessing these files directly, Windows runs a Plan 9 server as part of the WSL software in the background. Windows 10 has “a Windows service and driver that acts as the client and talks to the Plan9 server.” That server translates your file operations and handles Linux metadata such as file permissions, ensuring everything works properly even when you access a file with a Windows tool. But that’s just the complicated stuff that happens in the background, and you don’t have to think about it.

You can open a File Explorer window directly in the current directory from within a Linux shell environment. Just type the following command into the Bash shell:

explorer.exe .

You can work with files normally from here. Use drag and drop, copy and paste them, or even open them directly in Windows applications to modify them.

A Linux home directory in File Explorer

Microsoft may change how this works in the future. But, for now, you can also type following path into an Explorer window to access a Linux distribution’s files:


In other words, if you’re running Ubuntu’s Bash shell, you’d type:


This also works from the command line, of course. In PowerShell or the Command Prompt, the command cd \\wsl$\Debian\ changes to the root directory of your installed Debian system.

Linux files displayed in PowerShell

Windows Subsystem for Linux users have wanted this feature for a long time. Back in 2016, Microsoft’s Rich Turner wrote that he had to warn people not to access their Linux files in File Explorer at least two or three times per day. Now, there’s finally a way to work with these files without the risk of breaking something.

RELATED: Everything New in Windows 10’s April 2019 Update

Chris Hoffman Chris Hoffman
Chris Hoffman is Editor in Chief of How-To Geek. He's written about technology for nearly a decade and was a PCWorld columnist for two years. Since 2011, Chris has written over 2,000 articles that have been read more than 500 million times---and that's just here at How-To Geek.
Read Full Bio »