Hi,
I have a code below that does a filecopy from a network drive to my local harddisk. Each time when there is a new file I will have to add on to the code. How can I keep the directory and file name into a table a make the program read each records and filecopy them to c:\? instead of having to keep adding the code?
Fund10a = "G:\Funds\test\"
Fund10b = "c:\temp\"
PDF10 = "\test.pdf"
Fund10a = "G:\Funds\test\" & PDF10
FileCopy Fund10a, Fund10b & PDF10
I have a code below that does a filecopy from a network drive to my local harddisk. Each time when there is a new file I will have to add on to the code. How can I keep the directory and file name into a table a make the program read each records and filecopy them to c:\? instead of having to keep adding the code?
Fund10a = "G:\Funds\test\"
Fund10b = "c:\temp\"
PDF10 = "\test.pdf"
Fund10a = "G:\Funds\test\" & PDF10
FileCopy Fund10a, Fund10b & PDF10