Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.02 KB

wslwrap

A way to symlink Windows Subsystem for Linux programs onto the PATH for Windows.

Status

Azure DevOps builds

Azure DevOps releases

Example

Example usage:

Put it in a unique directory on the PATH.

D:\wslwrap>mklink uname.exe wslwrap.exe
symbolic link created for uname.exe <<===>> wslwrap.exe

D:\wslwrap>uname -a
Linux HOSTNAME  4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux

D:\wslwrap>mklink ls.exe wslwrap.exe
symbolic link created for ls.exe <<===>> wslwrap.exe


D:\wslwrap>ls /'Program Files'/'Windows NT'/
accessories  tabletextservice

This should also work with varying path separators and UNIXisms like / (root of current drive), and ~ (USERPROFILE).