17 Oct 2019

Acessing Drives in Windows Subsystem for Linux

Windows Subsystem for Linux is a great tool for developers. After installing the system and activating it, it’s easily possible to run bash scripts and commands. But the most usefull feature is the ability to edit / access Windows files in Linux.

Your drives will be mounted under the /mnt/ path with their drive letter as a sub-folder. C:\Example will therefore be accessible in Linux under /mnt/c/Example.

You can learn more about WSL at https://docs.microsoft.com/en-us/windows/wsl/wsl2-index.