DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
Redmond desk4 min

How to Access WSL2 Files from Windows and Windows Files from Linux

Use UNC paths or Explorer to open WSL2 files in Windows, and access Windows drives in Linux under /mnt. Learn path conversion, performance, and permission differences.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To open Linux files in Windows, use a WSL network path such as \wsl.localhostUbuntu-22.04homeusernameproject, or run explorer.exe . from the relevant WSL directory. To open Windows files from Linux, use the mounted drive path—usually /mnt/c/ for the C: drive. Use wslpath to convert between path formats. Where you keep active project files matters: cross-filesystem access can be slower, and permissions behave differently in each direction.

Open Linux files from Windows

In File Explorer’s address bar, enter a UNC path using your distribution’s name and the Linux path you want to open. For example:

As an Amazon Associate I earn from qualifying purchases.

  • \wsl$Ubuntu-22.04homeusernameproject
  • \wsl.localhostUbuntu-22.04homeusernameproject

Ubuntu-22.04 is an example distribution name, not a required version. Replace it with the name of your installed distribution and use the actual Linux username and directory. Microsoft documents both \wsl$ and \wsl.localhost paths in its WSL interop guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can also open the current Linux directory directly from a WSL shell:

#1 Best Overall

explorer.exe .

The period means “the current directory.” The command is useful when you are already in the folder you want to browse.

The distribution needs to be available for the network path to work: Microsoft notes that \wsl$ does not resolve when the instance is shut down. On Windows 11, \wsl.localhost can auto-start the distribution. That documented Windows 11 behavior should not be assumed to establish a universal version-specific feature matrix.

Open Windows files from Linux

Fixed Windows drives are usually mounted under /mnt/ in WSL. The common paths are:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Windows C: drive: /mnt/c/
  • Windows D: drive: /mnt/d/

For example, Windows C:UsersusernameDocuments corresponds to /mnt/c/Users/username/Documents. From a WSL shell, you can work with files there using Linux commands or point a Linux application at that path. Microsoft’s WSL FAQ describes using a Windows-mounted project directory for Linux building or testing.

Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

If the drive mount is missing or somewhere else

Check your distribution’s /etc/wsl.conf. The [automount] setting enabled defaults to true, and its root defaults to /mnt/. If you change these settings, stop and restart the distribution for the changes to take effect. See Microsoft’s advanced WSL configuration documentation.

Convert Windows and Linux paths with wslpath

Use wslpath in a WSL shell when you need to pass a path between Windows and Linux. It avoids manually rewriting drive prefixes and separators:

# Windows path to Linux path
wslpath "C:\Users\username\file.txt"

# Linux path to Windows UNC path
wslpath -w /home/username/file.txt

# Linux path to Windows drive-letter format
wslpath -m /mnt/c/Users/username/file.txt

Microsoft’s examples map a Windows C: path to /mnt/c/... and a Linux home path to a \wsl.localhost<distro>... path. The -w form returns a Windows path, while -m returns a Windows-style path with forward slashes. Consult the interop documentation for the documented path examples.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose where project files should live

Microsoft recommends keeping files in the filesystem best suited to the tools that do most of the work. Linux command-line projects generally belong in the WSL filesystem; projects handled mainly by Windows command-line tools generally belong in the Windows filesystem. Accessing files across the boundary can be slower, but the documented guidance does not give a universal speed multiplier.

Rank #3
15.6 Inch Win 11 Laptop Computer, N4020, 4GB DDR4 RAM, 128GB Storage
  • WINDOWS 11 | STABLE PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 system, this laptop delivers stable performance for everyday computing tasks. It supports web browsing, online learning, document editing, email communication, and basic office work with optimized power efficiency, providing a practical and reliable experience for essential daily use for daily use.
  • 15.6” FHD IPS DISPLAY: Features a 15.6-inch Full HD IPS display with narrow bezels, offering wider viewing angles and clearer image details compared to standard panels. The improved screen-to-body ratio enhances visual experience for study, reading, document work, and video playback, making it suitable for both productivity and entertainment use.
  • 4GB DDR4 + 128GB eMMC STORAGE: Equipped with 4GB DDR4 memory and 128GB eMMC storage for everyday basics such as browsing, documents, email, and online learning platforms. The built-in TF card slot supports storage expansion up to 1TB, giving you more flexibility for files, photos, videos, and daily documents. TF card not included.
  • CONNECTIVITY & PORTS: Includes 1× TF card slot, 2× USB 3.2 Gen1 ports, and 2× full-featured Type-C ports (USB 3.2 Gen1). The Type-C ports support data transfer, charging, and video output, enabling flexible connection with external devices such as monitors, storage, and peripherals for daily work and study use.
  • LIGHTWEIGHT DESIGN | ONLINE COMMUNICATION: Designed with a slim, portable profile, this laptop is easy to carry for school, commuting, and travel. A built-in 1MP front camera supports online classes, video meetings, remote communication, and everyday conferencing. The 3300mAh battery works with the low-power system design to support practical daily use, while thermal optimization helps maintain quieter operation during extended tasks.
Workflow Practical location Trade-off
Linux tools do frequent operations, such as builds, dependency handling, or Git work Keep the project in the WSL filesystem, such as under /home/username/ Windows access through \wsl$ or \wsl.localhost is available for browsing or occasional work, but Microsoft describes it as slower than working within the Linux filesystem.
Windows command-line tools do most of the work Keep the project in a Windows directory, such as C:Usersusernameproject Linux can reach it under /mnt/c/, but intensive Linux workloads over a Windows-mounted directory can incur cross-filesystem overhead.
Both Windows and Linux tools need the same files Use the filesystem that serves the most frequent or intensive operations The other environment can still access the files using its UNC or mounted-drive path; choose that convenience with the performance trade-off in mind.

Microsoft specifically advises against Windows-mounted project directories such as /mnt/c/ for intensive Linux workloads involving build systems, node_modules, and Git repositories. Conversely, Windows access to Linux files through \wsl$ is better suited to occasional access than tight loops. See Microsoft’s guidance on working across Windows and Linux file systems and Windows and Linux integration.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Understand permissions in each direction

Permission behavior depends on which side is accessing the files. A Linux mode displayed in one environment does not always determine whether a write will succeed in the other.

  • Windows accessing Linux files: When Windows applications use \wsl$, they use the distribution’s default Linux user and that user’s permissions.
  • Linux accessing Windows files: Permissions are calculated from the Windows user’s effective permissions unless WSL metadata is present. Metadata is not enabled by default, so Windows-side access restrictions can still prevent a write even if a Linux listing appears to show write permission.

For Windows drives, WSL provides umask, dmask, and fmask mount settings in /etc/wsl.conf to control how permissions are presented. Linux-native files in the distribution’s own filesystem follow standard Linux conventions. Microsoft explains the distinction in its WSL file permissions guide and configuration documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick choice: mounted path or Linux filesystem?

Before starting a project, consider these workflow details:

  • Which environment’s tools perform most file operations?
  • Will you cross between Windows and Linux frequently, or only browse or edit occasionally?
  • Does the work depend on Linux permissions or file behavior that differs from the Windows filesystem?
  • Has the distribution’s /etc/wsl.conf changed drive automounting or permission presentation?

For Linux-heavy development, a project under the WSL home directory avoids relying on a Windows-mounted path for intensive operations. For a Windows-heavy workflow, a Windows directory is the natural location, with Linux reaching it through /mnt/. When tools on both sides must use the same files, the paths provide access, but the cross-filesystem performance and permission differences remain relevant.

Quick Recap

Bestseller No. 1
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$245.99
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$285.00

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.