Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending deleted files to the recycle bin
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00116555
Message ID:
00116568
Views:
13
>Delete file works ok, but sending deleted files to the recycle bin is better.
>
>What's the winapi command for this?

How are you deleting? If you use the ERASE command, you can add the new RECYCLE keyword as in the following example:

ERASE Test.dbf RECYCLE

Hope this helps...
Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform