View Full Version : Script timeouts
yellowdog
05-04-2001, 12:55 PM
If I don't choose a button on a particular script after about 10 seconds the script "times out" and exits. Anyway to change this behavior? Thanks.
RWSchlatter
05-04-2001, 03:52 PM
from Start>Run "WScript", choose your timeout setting
or as copied from the WSH Help file:<pre>To create a .wsh file for a given script
Right-click the script file in Windows Explorer.
Cick Properties on the shortcut menu.
Choose the settings you want for the script.
Click OK or Apply.
A .wsh file is created with the same name as the script file you selected.
The following example illustrates what a typical .wsh file might look like:
[ScriptFile]
Path=C:\WINNT\Samples\WSH\showprop.vbs
[Options]
Timeout=0
DisplayLogo=1
BatchMode=0
The path information in the [ScriptFile] section identifies the script file that.wsh file is associated with. The keys in the [Options] section correspond to settings in the Script tab within the Properties dialog box.
Note You must have the original script file present when executing the .wsh file. If the .wsh file fails to run the script, check the Path= information in the .wsh file to ensure that it is pointing to the script you are attempting to run.</pre>
______________
Regards - Richard
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.