wslbridge icon indicating copy to clipboard operation
wslbridge copied to clipboard

-C WSLDIR with wslpath for Windows pathes

Open lars18th opened this issue 7 years ago • 0 comments

Hi,

I like to pass a path from a launcher to the wslbridge. However the tool at time only accepts WSL pathes.

As the wslpath tool is supported (for other stuff), I suggest to add too support for it with the -C parameter.

You can support what you prefer:

  • -c WINDIR: lower case 'c' intead of 'C' for a Windows path.
  • -C %WINDIR: the char % indicates a Windows path.
  • Or automatically support it if the path not found as Linux path, but found as wslpath.

What you think?

lars18th avatar Jul 18 '18 12:07 lars18th