Create an instance of the file system object:
Select scrrun.dll as a Reference.

FileSystemObject Object Model

Example of Creating a Text File

Example of Opening a Text File

Reading through a Folder

FileSystemObject Methods

Drive Methods

Folder Methods

File Methods

Text File Methods

The OpenAsTextStream method opens a file and returns a TextStream object.

Copyright © 2006-2018, LQSystems,Inc. All rights reserved.

   Printer Friendly Page