Can I change directory to a Windows drive in Ubuntu Bash on WSL?

WSL stores your Windows drives in the /mnt folder, with the name of the drive as a subfolder. For example your C:\ drive will be present at /mnt/c/ for you to use.

Keeping this in mind, you can swap to your specific folder like so:

cd /mnt/e/username/folder1/folder2

In windows explorer, navigate to e:/username/folder1/folder2/,

type bash and press Enter in the address bar, a bash window with path in e:/username/folder1/folder2/ will appear.

This also work with command cmd.

Reference


Yes, you can do that. I used shift + right click to get "Open Powershell here" whichever directory you want to bash and run 'bash' command, then run as usual enjoy. This is same as using Ubuntu bash as it uses same Python packages in the Windows Powershell after using 'bash' command.

Note: On windows 10 latest update maybe April 2018 with WSL and developers mode enabled.