JavaScript/JScript in Microsoft WSH

Using just a file with the ".js" extension in Windows, it's possible to run JScript code. Of course within this environment many of the commonly known HTML, DOM and DHTML elements are not available. Instead, you have access to a different set of default tools, for system administrative tasks.

This topic is covered better at Windows Programming/Windows Script Host, from a non-JScript-specific perspective.