CScript.exe / wscript.exe
Run a Windows Scripting Host (WSH) script.
'cscript' runs entirely in the command line and is ideal for non-interactive
scripts.
'wscript' has a Windows interface for user interaction.
Syntax
cscript [script_name.vbs] [cscript_options...] [script_arguments]
wscript [script_name.vbs] [wscript_options...] [script_arguments]
Options:
script_name.vbs : Text file containing VBS commands to be execute.
You must include the extension (normally .vbs)
//T:nn Timeout script after nn seconds
//nologo hide startup logo
//Logo or Display logo (default)
//I Interactive mode
//B or Batch mode
//E:engine Use engine for executing script
//H:CScript Change the default to CScript.exe
//H:WScript Change the default to WScript.exe (default)
//Job:xxxx Execute a WSF job
//S Save current command line options for this user
//D Active Debugging
//X Execute script in debugger
//U Use Unicode for redirected I/O from the console
WSH provides a windows scripting environment with commands that are identical across Win 95 - NT - XP.
WSH is available under Windows 95, and NT4 if Internet Explorer 4 (or above) has been installed. WSH is installed by default on Windows 98, Windows Millenium, Windows 2000 and XP.
The download of WSH version 5.6 (as shipped with XP) fixes a few bugs and adds significantly to the features available in earlier releases.
"Throw a lucky man in the sea, and he will come up with a fish in his mouth" - Arab proverb
Related
Download WSH - Microsoft.com