You can use the File System Object (FSO) to examine and modify directories and files. Go here for the object's Web pages.