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.
wslpath
Awesome, I did not know that one! Thank you
SUPER handy, thank you!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.Awesome, I did not know that one! Thank you
SUPER handy, thank you!