In some cases, the file could
remain open until you reboot the system, making it inaccessible to everyone.
190 CHAPTER 6 WORKING WITH SCRIPTS
Managing Windows in a New Way
This chapter has shown you how to work with scripts at the command prompt. Of course, this is
merely the tip of the iceberg. Scripting can become quite addictive and profitable as well, because
it represents an easy way to create applications that run on multiple platforms. In short, if this chapter
is your introduction to scripting, it??™s a good one, but you can do a lot more. Of course, what you??™ve
seen might seem like quite a lot already because scripting at the command line gives you complete
access to your system in a way that batch file programming can??™t. This chapter helps you build these
skills:
? Work with scripting languages
? Execute scripts using CScript and WScript
? Script network solutions using the NetSH utility
? Write a basic script
? Use scripting objects
? Change the environment using a script
? Test a script for errors
It??™s your turn. If you don??™t already know how to work with scripting languages, make sure you
use the resources at the beginning of the chapter to learn.
Pages:
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486