Hello,
We are currently using a VFP to run a static DOS batch file. We are using this batch file to perform a one-way sync of one set of directories to another. The command we are using is:
XCOPY C:\DEALER\REPORTS\*.* F:\DEALER\REPORTS\*.* /E /Y /D
In the REPORTS directory there are going to be multiple folders for each dealer. Inside all of those folders are the files we want to copy.
The problem with doing this now is there is no way to check to see if it worked correctly, and if there was an error we don't know about it until we see that the file is not the most current file.
Is there a way I could do this in VFP, where I could somehow build a filelist so I could check the files to make sure they transferred properly? Or is there a better way of doing this?
Thanks!
MAC