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!

Copy File using FileSystemObject

Status
Not open for further replies.

VBXL

Programmer
Jul 10, 2001
198
GB
How do you copy a text file using FileSystemObject

Cheers

VBXL
 
by using CopyFile method in FileSystemObject
FileSystemObject.CopyFile <Target>,<Source>
;-) Best Of Luck

 
The same way you copy any file:
fsobj.CopyFile source, destination
 
filesystemobject.CopyFile source as string, destination as string, overwritefiles as boolean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top