I am trying to copy files from one folder to another.
Source = C:\Temp
Destination = C:\Temp2
I want to run the macro every 10 minutes or so, and copy NEW files from Source to Destination.
My problem is, the results for GetFileList doesn't just give the file name, but its entire path like file_names_1 = C:\Temp\File1.txt
So I can't use IfFileExists on C:\Temp2\file_names_%1%. I think it would come out like C:\Temp2\C:\Temp\File1.txt which doesn't work.
The template I'm using is:
Code: Select all
GetFileList>c:\temp\*.*,files
Separate>files,;,file_names
Let>k=0
Repeat>k
Let>k=k+1
IfFileExists>C:\Temp2\something
*Do nothing*
Else
*CopyFile*
Endif
Until>k,file_names_count