JavaScript/JScript in Microsoft WSH

From Wikibooks, open books for an open world
< JavaScript
Jump to: navigation, search

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.