Another option using XCOPY command
Consider not using foxpro to do the job, and look at the following. Please examine the sysntax of xcopy to see how powerful it is (Xcopy /?).
Create 5 subdirectories of your backup Directory e.g. c:\backup\mon , c:\backup\tues, etc
Create 5 batch files from your command prompt (XP) or DOS prompt (Win98) (called mon.bat to fri.bat)
for day of week = Mon to Friday
call the first mon.bat and the code in the batch file is one line
xcopy c:\source\*.* c:\backup\mon\*.* /s /y /d /h /c
This will backup all files including memo,index,dbf, etc. plus subdirectories, which are older than the files in the existing destination directory.
Use Windows scheduler to run the batch files
Similarly for Tuesday to Friday
All files should be closed for the above to function fully.
I use Novell Netware copy which allows a backup of open files to another netware volume. I then use xcopy to copy the netware backup. Xcopy does not handle open files