Header Ads

Code for File System Object

Here is a sample code on how to work with File System Object. The below written code only creates a Test file named as Log.

Set objFSO = CreateObject("Scripting.FileSystemObject")

Set objFile = objFSO.CreateTextFile("D:\Log.txt")

we need close the objects
Powered by Blogger.