Chapter 4. File and Registry Access


  • This chapter shows how to use “stock” objects provided with Windows Script Host to manipulate and read files, folders, and the Registry.

  • You should be comfortable with the material in Chapter 3, “Scripting and Objects,” before reading this chapter.

  • Each object can do more than I have room to describe. I'll give examples of the most important functions, and you can use the reference information to see what other functions are available.

  • The first time through each section, I suggest that you skim the lists of methods and properties, study the examples, and then go back through the reference tables.

Getting Real Work Done

The first three chapters of this book covered Windows Script Host, gave an overview of ...

Get Windows® XP Under the Hood now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.