Wscript Parameters
//BSpecifies the batch processing mode, which does not display alarms, script errors, or input prompts.
// DStart debuggingProgram(Avtive debugging).
// E:EngineSpecifies the engine used to run the script.
// H: cscriptRegister cscript.exe as the default Script Host for running the script.
// H: wscriptRegister wscript.exe as the default Script Host for running the script. This is the default setting.
// ISpecifies the interaction mode, which displays alerts, script errors, and input prompts. This is the default value. The opposite value is// B.
// Job:IdentifierRun the. WSF script fileIdentifierJob ID.
// LogoSpecifies that the Windows Script Host banner is displayed on the console before the script runs. This is the default value. The opposite value is// Nologo.
// NologoSpecifies that the Windows Script Host banner is not displayed before the script is run.
// SSave the current command prompt options of the current user.
// T:NumberSpecifies the maximum time (in seconds) that a script can run ). You can specify a maximum of 32,767 seconds. The default value is no time limit.
// XStart the script in the debugging program.
* Note: file extension must be enabled.
Script Parameters cannot be specified if no script is specified.
Windows Script files usually have the following file extensions:. WSF,. vbs,. js.
Cscript
Parameters andWscriptSame, but the following parameter is added:
// U
Specify Unicode as the encoding format for the redirection input and output from the console.
A script file with a suffix. vbs double-click and execute it in windows. Then, the system automatically calls an appropriate program to explain and execute it. This program is Windows Scripting host, the program execution file name is wscript.exe default (if it is under the command line, it is cscript.exe ).