You can record specific settings for each script you run by creating a control file for that script with a .wsh file extension.
A .wsh file is a text file that uses a format similar to that of .ini files. It is created automatically when you set the properties for a supported script file.
The following steps describe how to create a .wsh file for a script:
[ScriptFile] Path=C:\WINNT\Samples\WSH\showprop.vbs [Options] Timeout=0 DisplayLogo=1 BatchMode=0
The Path setting in the [ScriptFile] section identifies the script file associated with this .wsh file. The keys in the [Options] section correspond to settings in the Script tab within the Properties dialog box.