Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy or xcopy
Message
From
05/05/2010 03:00:14
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
05/05/2010 00:06:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01463158
Message ID:
01463163
Views:
67
Hi,
Have a look at robocopy if using vista or above.

>Hi All experts, I am trying to make a quick backup program to copy files from a folder from hard disk to a usb hard disk.
>I have used the normal copy command eg "copy file (cFrom) to (cTo)" which works fine but does not copy the sub-directories.
>If I use the xcopy using "run xcopy (cfrom) (cTo)" works fine as long as I dont have gaps in the folder names, like trying to copy
>"My Documnts". My question is, how can I copy all the specied files in a folder plus sub-folder withor without gaps in the folder names ??
>TIA
Regards N Mc Donald
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform