Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy or xcopy
Message
From
06/05/2010 02:44:10
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
05/05/2010 21:01:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01463158
Message ID:
01463366
Views:
54
Hi,
Here is a sample command line:- "robocopy X:\Source Y:\Destination *.* /S /NP /XO >> logfile.txt"

What this does is:

•Copies all files from the source to the destination (noted by the *.*)
•/S - include subdirectories
•/NP - hides the progress (if you’re going to log to a file, you want this option)
•/XO - exclude files that are older/have not changed
•>> - appends the results to the file. If you only use one ‘>’, it will overwrite instead

and a link to a good article http://www.sqlmag.com/article/sql-server/tool-tip-the-awesomeness-of-robocopy.aspx

>Thanks for the info Neil, I shall have to get my head around it and see how I can use the robocopy command.
Regards N Mc Donald
Previous
Reply
Map
View

Click here to load this message in the networking platform