Tuesday, April 20, 2010

File System Object

Previous21222324252627282930Next

What is a File System Object


File System Object or FileSystemObject helps us to deal with Files, Folders and Drives using VB Script. We generate Scripts using VB to interact with them.


We can interact with FileSystemObject using VB Script and can perform different kinds of operations as we desire. Using FileSystemObject in VB Script we can create a File, Folder. You can also write data or information in a File. Yo

u can also Delete a File, Folders or data in VB using FileSystemObject.

It is possible to get different kind of information on Files, Folders and Drives with the help of FileSystemObject using VB Script.

FileSystemObject is a separate library and not included in VB Script Library. VB Script needs to call the FileSystemObject Library. Like wise VB Script can interact with different libraries and call them using different objects.

VB Script can talk to any of the libraries like FileSystemObject, Word, Excel etc. This is referred to as Component Object Model or COM

Look at the Component Object Model or COM figure.


Previous21222324252627282930Next

No comments:

Post a Comment