.Dd $Mdocdate$ .Dt PATH-CONVERT 1 .Os WSL .Sh NAME .Nm path-convert .Nd canonicalize and convert Unix paths for use with DOS programs .Sh SYNOPSIS .Nm path-convert .Op Fl hnqs .Ar .Sh DESCRIPTION The .Nm utility converts UNIX paths to DOS, for command substituting paths when invoking Windows executables from the terminal in WSL. .Pp Arguments that fail to canonicalize will be passed through as-is. .Pp Its options are as follows: .Bl -tag -width Ds .It Fl h , Fl -help Displays a short help text. .It Fl n , Fl -network Adds the WSL network path where appropriate. .It Fl q , Fl -quotes Surrounds each converted path with single quotes (-q) or double quotes (-qq). .It Fl s , Fl -no-space Uses DOS shortening for directories in the path whose name contains spaces. .El .Sh ENVIRONMENT .Bl -tag -width Ds .It Ev WSL_DISTRO_NAME This should be auto-set by WSL, and contains the name of the current distribution. .El .Sh AUTHORS .An -nosplit .An Valerie Wolfe Aq Mt sleeplessval@gmail.com .