Closed Liampor closed 1 year ago
It seems to be this: https://learn.microsoft.com/en-us/windows/wsl/troubleshooting#command-not-found-when-executing-windows-exe-in-linux
In my case, this was caused by appendWindowsPath = false
in my /etc/wsl.conf
, but the link gives other reasons why this could occur.
@jonathanjameswatson
Sorry for the late response, Yes I have set the appendWindowsPath = false
, and this issue could be solved by adding the path in my .zshrc
file
export PATH="/mnt/c/Windows:$PATH"
I have installed xdg-open-wsl in my wsl1 successfully
Tried use follow command to open a pdf file
xdg-open "/mnt/d/project/readme.pdf"
it returns
How could I solve it ? thanks