.Dd $Mdocdate$ .Dt DOS-VAR 1 .Os WSL .Sh NAME .Nm dos-var .Nd gets DOS environment variables from WSL .Sh SYNOPSIS .Nm .Op Fl p .Ar variable .Sh DESCRIPTION The .Nm utility gets a DOS environment variable from within WSL. It can also convert paths to UNIX. .Bl -tag -width Ds .It Fl p , Fl -path The target DOS variable contains a path, and will be converted. .It Ar variable The name of the target DOS variable. .El .Sh EXIT STATUS .Bl -tag -width Ds .It 1 The target variable is empty. .It 2 No target variable was provided. .El .Sh EXAMPLES Navigate to the Windows user directory: .Pp .Dl $ cd `dos-var -p USERPROFILE` .Pp .Sh Authors .An -nosplit .An Valerie Wolfe Aq Mt sleeplessval@gmail.com