Name

cscript

Synopsis

cscript [script] [options]

Run a script using the Windows Scripting Host facility. The script filename must include a recognized extension indicating the scripting language. See the ntbooks documentation for script execution-related options. Note that cscript options are preceded by two slashes ( // ) in order to distinguish them from the script’s own options.

cscript //h:cscript

Make cscript the default script host, which allows scripts to be run by entering the script name as the command.

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.