Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

object is used to create/delete/modify files and directories

Status
Not open for further replies.

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?
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top