DEV Community

Discussion on: Getting Started With WSL

Collapse
 
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan • Edited

A handy tip for anyone who wants to navigate to a Windows directory using WSL:

cd "$(wslpath "C:\Your\Windows\Directory")"

So you can copy a path from File Explorer, for example, and use the above to navigate to it in WSL. wslpath is a built-in utility.

Collapse
 
jeremycmorgan profile image
Jeremy Morgan

Awesome, I did not know that one! Thank you

Collapse
 
jldohmann profile image
Jesse

SUPER handy, thank you!