Chapter 12. Working with the File System
IN THIS CHAPTER
- The
FileSystemObject
Library - Working with Drives
- Working with Folders
- Working with Files
- Reading and Writing Text Files
- Other FSO Methods and Properties
- Creating a Log File Scanner
You’d be surprised how often you might need to access a computer’s file system from within an administrative script. For example, a script that adds new users to the domain might need to read those names from a script, or might need to write out new passwords into a file. A script designed to query TCP/IP addresses from workstation computers will need to write that information some-where—why not a text file? File system access is almost a prerequisite for any number of useful scripts, even ones that don’t ...
Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration 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.