//B
| Specifies batch mode, which does not display alerts, scripting errors, or input prompts.
|
//D
| Turns on the debugger.
|
//E:engine
| Specifies the scripting language that is used to run the script.
|
//H:cscript or //H:wscript
| Registers either Cscript.exe or Wscript.exe as the default script host for running scripts. If neither is specified, the default is Wscript.exe.
|
//I
| Specifies interactive mode, which displays alerts, scripting errors, and input prompts. This is the default and the opposite of //B.
|
//Job:xxxx
| Runs the job identified by xxxx in a .wsf script file.
|
//Logo
| Specifies that the Windows Script Host banner is displayed in the console window before the script runs. This is the default and the opposite of //Nologo.
|
//Nologo
| Specifies that the Windows Script Host banner is not displayed before the script runs.
|
//S
| Saves the current command-prompt options for the current user.
|
//T:nnnnn
| Specifies the maximum time the script can run (in seconds). You can specify up to 32,767 seconds. The default is no time limit.
|
//X
| Starts the script in the debugger.
|
//?
| Displays available command parameters and provides help for using them (this is the same as typing Cscript.exe with no parameters and no script).
|
No comments:
Post a Comment