2024-06-25 12:34:40 -04:00
|
|
|
.Dd $Mdocdate$
|
|
|
|
.Dt PATH-CONVERT 1
|
2024-08-19 09:33:11 -04:00
|
|
|
.Os WSL
|
2024-06-25 12:34:40 -04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm path-convert
|
2024-06-25 13:16:31 -04:00
|
|
|
.Nd canonicalize and convert Unix paths for use with DOS programs
|
2024-06-25 12:34:40 -04:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm path-convert
|
|
|
|
.Op Fl hnqs
|
|
|
|
.Ar
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2024-07-16 09:54:58 -04:00
|
|
|
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:
|
2024-06-25 12:34:40 -04:00
|
|
|
.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 .
|