Mar 9, 2002 #1 123457 Programmer Mar 9, 2002 4 AZ Which object is used to create/delete/modify files and directories? What is the code used to instantiate that object?
Which object is used to create/delete/modify files and directories? What is the code used to instantiate that object?
Mar 11, 2002 #2 Matilde Programmer Nov 30, 2001 18 DK you can use the filesystemobject to create files, delete them etc. set xxx = CreateObject("scripting.FileSystemObject" xxx.yyy and here you put the required parameters 'xxx = doesn't matter just a variable. 'yyy = any method you want to use. ex: CopyFile, DeleteFile, MoveFile, DeleteFolder etc. Upvote 0 Downvote
you can use the filesystemobject to create files, delete them etc. set xxx = CreateObject("scripting.FileSystemObject" xxx.yyy and here you put the required parameters 'xxx = doesn't matter just a variable. 'yyy = any method you want to use. ex: CopyFile, DeleteFile, MoveFile, DeleteFolder etc.