O'Reilly logo

Microsoft® VBScript Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Working with the File System

Before You Begin

To work through the material presented in this chapter, you need to be familiar with the following concepts from earlier chapters:

  • Using the For Each...Next construction

  • Applying Select Case constructions

  • Adopting constants

  • Implementing intrinsic VBScript properties such as VbTab and Now

  • Employing If...Then...Else

After completing this chapter, you will be able to:

  • Create an instance of the FileSystemObject object

  • Obtain a listing of files in a folder

  • Create files

  • Verify the existence of a file

  • Obtain a listing of the properties associated with a file

  • Read and write file attributes

Creating the File System Object

To talk to the file system, the script needs to make a connection to it so that it can read ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required