To set global properties for all scripts that are run with the Windows-based script host

1.

Click Start, and then click Run.

2.

In the Open box, enter wscript, and then click OK. The Windows Script Host Settings dialog box appears.

3.

Select the Stop script after specified number of seconds check box.

4.

In the seconds box, enter the time limit you want to place on all scripts.

Note

With one setting, you can set properties for all scripts that are run with the Windows-based script host. Every script that is run with this host automatically uses these settings.

Related Topics

Download Windows Script Host samples

Windows Script Host object model

Windows Script Host overview

Run scripts using the command-line-based script host (cscript.exe)

Run scripts using the Windows-based script host (Wscript.exe)

Run Windows Script Host samples

Set global properties for all scripts that are run with the Windows-based script host (Wscript.exe)

Set properties for individual scripts that are run with the Windows-based script host (Wscript.exe)

For more information, see the Windows Script Technologies Web site at the Microsoft Web site.



© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies