Execute Batch file in Windows Subsystem for Linux
Unfortunately at the moment you cannot do so without either using: cmd.exe /c foo.bat …or the following hack using binfmt: sudo sh -c “echo :WindowsBatch:E::bat::/init: > /proc/sys/fs/binfmt_misc/register” You could then just type: foo.bat The problems with this method are that you’d need to be root, run it each time you opened a bash window, probably … Read more