copy/paste files in access basic?

W

waynemb

Is there some way to copy and paste files on the harddrive from within Access
Basic?
 
O

Ofer

One option
x=shell("xcopy c:\FileName.xls c:\backup\")

Second option Use the fileCopy Command

FileCopy "Source + Name" , "Location + name"
FileCopy "c:\FileName.xml","c:\FileName.txt"
 
Top