In order to create a File System Object i.e. FSO you may use the following code:Dim objfsoSet objfso = CreateObject("Scripting.FileSystemObject")The appropriate "get" method of FSO can be used to access Drive (GetDrive), Folder (GetFolder) or File (GetFile).