File.CopyFile Function


g7lno

Recommended Posts

I'm trying to set a sequence from a button to transfer log files from one location to another.

I have coded;

file.CopyFile("C:\daqfactory\logs\*.csv","D:\*.csv",0)

I keep getting C1122 error, can i not use wildcards in this function. Or is there an easier way to transfer files on demand?

:) Graham

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.