Open wslpath (owslpath) is a simple command line tool for wsl terminal to convert between windows and WSL Windows Subsystem for Linux
path.
You can install it any way you want , but this a method you can use .
git clone https://github.com/Mohamed-Ibrahim-01/owslpath.git
cd owslpath
g++ -o owslpath owslpath.cpp
mkdir ~/.scripts/ # if it wasn't already created
mv owslpath ~/.scripts
# then add this alias in ~/.bash_aliases
alias owslpath="~/.scripts/./owslpath"
#if you add the alias use it like that
owslpath '<WindowsPath>'
#or just use it like that
~/.scripts/./owslpath '<WindowsPath>'