Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying files into a non-exsting folder
Message
From
24/10/2006 13:14:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Copying files into a non-exsting folder
Miscellaneous
Thread ID:
01164128
Message ID:
01164128
Views:
53
The COPY FILE command does not seem to work if the destination folder deos not exist. For example if I use the command

COPY FILE 'C:\X\Y\A.*' TO 'A:\X\Y\A.*'

if either the folder "X" or the sub-folder "Y" do not exist. What is the best way of check that the destination folders exist and to create them if the do not?

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform