Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to copy an entire folder
Message
 
 
To
28/02/2002 20:34:36
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00626725
Message ID:
00626766
Views:
11
>>>Hi Marcia:
>>>
>>>I do have a few folders in the DataFiles folder itself. How do i select them to be copied als along with the contents of each of those folders?
>>>
>>>TIA.
>>>
>>>- Ravi
>>
>>XCOPY /E /S
>>
>>Hope this helps
>
>
>Hi Grigore:
>
>Thank you for your response. I put the code as follows, but it did not work.
>
>
XCOPY "C:\Datefiles" to  "c:\Distribution\PreparedTables\Datefiles" /E /S
>
>Gave me an "Unrecognized command verb" error message.
>
>- Ravi

XCOPY is a DOS command, not VFP, so it should be invoked through RUN or !

I would suggest to try Ed's idea, the function is documented in API section.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform