How To Send Files to the Recycle Bin
Article ID: 155081
Article Last Modified on 7/13/2004
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q155081
SUMMARY
The ERASE and DELETE FILE commands can be used to programmatically delete a
file or files. In previous versions of FoxPro, the ERASE and DELETE FILE
commands would always permanently delete the files from disk. However, in
Visual FoxPro version 5.0, the ERASE and DELETE FILE commands have an
optional RECYCLE clause that will place the files in the Windows 95 or
Windows NT 4.0 Recycle Bin.
Keywords: kbhowto KB155081