Using the //NoLogo switch keeps screen clutter to a minimum.
Configuring the Host and Property Page Options
You don??™t have to rely exclusively on command line switches to configure WSH; you can configure
two WSH options from the Windows Script Host Settings dialog box shown in Figure 6.1. Run
WScript by itself and you??™ll see the Windows Script Host Settings dialog box.
166 CHAPTER 6 WORKING WITH SCRIPTS
Figure 6.1
Configure WSH to
meet specific needs.
The Stop Script after Specified Number of Seconds check box tells WSH to stop executing a script
after a certain time interval has elapsed. The edit box below it contains the number of seconds to
wait. Setting this option is like adding the //T command line switch to every script that you run.
The Display Logo When Script Executed in Command Console check box determines whether
WSH displays WSH logo when running scripts from the DOS prompt. Normally, Windows checks
this option, which is the same as adding the //Logo command line switch to every script that you
run. Clearing this option tells WSH that you don??™t want to display the logo, which is the same as
using the //NoLogo command line switch.
Pages:
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436