Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete folder...API
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00157368
Message ID:
00157384
Views:
18
>Is there an API delete function? If so, what is the syntax in VFP5.0?
>
>How do I programmatically delete a folder or directory and all recursive folders automatically without deleting files (del *.*) and then removing subdirectories (RD 'subdirectory')?
>
>I would like to simulate the effect of the right mouse click and delete the folder.

Hi Maurice,

There is an API function to do this (RemoveDirectory), but the directory must be empty. In this instance, there's no benefit to using the API calls to do the job that VFP can do without them.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform