I need to copy a directory and all its contents (files + any number of levels of subdirectories).
This seems to be very difficult in VFP. I can use run xcopy, but this opens a Command Prompt window, and looks clunky.
Is there a simple and elegant way to do this? If I could easily read do something like DOS:
dir /s
into an array, it would then be easy to step through the array, and use copy file. I can't quite see how to do this though...
Any suggestions gratefully received...
Thanks
John
Dr. JW Faithfull
Curator in Geology
Hunterian Museum
University of Glasgow
Glasgow G12 8QQ
Scotland