DOS Subsystem for Linux
A WSL alternative for users who prefer an MS-DOS environment. DOS Subsystem for Linux integrates a real Linux environment into MS-DOS systems, allowing users to make use of both DOS and Linux applications from the DOS command prompt.
You will need a cross toolchain targeting
https://github.com/richfelker/musl-cross-make is a tool that can build one for you with minimal hassle. Set
Build the prequisites (Linux and Busybox) by running
J=xxx script/build-prereq, replacing
xxxwith the desired build parallelism.
You will need a hard drive image
hdd.base.imgwith an installed copy of MS-DOS on the first partition.
This will produce a new hard drive image
hdd.imgwith DOS Subsystem for Linux installed. Invoke
C:\doslinux\dsl <command>to run Linux commands.
C:\doslinuxcan also be placed on your DOS
PATHfor greater convenience.