rianeiromiron
Programmer
Many of you know the super functionality of xcopy32.exe included in D.O.S., for instance, the parameter /s or the /D parameters are simple amazing.
I have an application in VFP 6 which makes automatic backups twice a day or in pre-programmed schedules.
Because of it's functionality I use xcopy32 to copy files from the source to the backup drive. I certainly know I can use VFP functions to scan directories, get the file info and so on but by doing so I would need to scan files one by one and then copy them if appropiate. There's nothing wrong with using xcopy32 with a RUN command, but, the gracious DOS windows that pops when you execute RUN.... So, the question comes to this:
What can I do to obtain the equivalent for /D using WINDOWS-only commands?
Thanks a lot.
Rianeiro Mirón
I have an application in VFP 6 which makes automatic backups twice a day or in pre-programmed schedules.
Because of it's functionality I use xcopy32 to copy files from the source to the backup drive. I certainly know I can use VFP functions to scan directories, get the file info and so on but by doing so I would need to scan files one by one and then copy them if appropiate. There's nothing wrong with using xcopy32 with a RUN command, but, the gracious DOS windows that pops when you execute RUN.... So, the question comes to this:
What can I do to obtain the equivalent for /D using WINDOWS-only commands?
Thanks a lot.
Rianeiro Mirón