-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wslpath fails to convert Windows wsl network path to WSL path #5568
Comments
You need single quotes ref #5250. I did find however that only one of my distros ( |
Its working for me:
It doesnt escape the spaces, and having to manually change double quotes from the ones windows automatically creates to single quotes is clunky, but at least its doable. |
Thanks; glad it is working for you. Dropping the bug tag. If someone else hits |
@therealkenc - that behavior is expected if you are running wslpath from within the focal2 distro. That distro does not have access to the Ubuntu 18.04 filesystem, but agreed the error message could be more clear. |
Intro
I made a script to open a file from explorer.exe in WSL with vim. It work works fine. However sometimes I am browser within a WSL folder in explorer.exe (i.e. within
\\wsl$\Ubuntu-20.04\
), and wish to open a file in WSL with vim, thenwslpath
does not render a wsl path.Steps to reproduce
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: