While researching how to possibly make ELF files runnable on Windows, I ran across the PATHEXT environment variable, and thence to the .js extension, and found (using assoc and ftype) that javascript files can be run directly from Windows via the WScript.exe program! There is also CScript.exe, which runs javascript as a console application. It's nice to know that Windows comes with a reasonably powerful programming language. Of course, this is really old news to people who have kept up with Billy's products, but I don't.

Back to blog or home page

last updated 2013-01-10 20:51:59. served from tektonic.jcomeau.com