4. File and Registry Access

In This Chapter

• This chapter shows how to use “stock” objects provided with Windows Script Host to manipulate and read files, folders, the environment, 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 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 ...

Get Windows 7 and Vista Guide to Scripting, Automation, and Command Line Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.