Another suggestion is : 1) get Recycle bin directory : SHGetSpecialFolderLocation 2) call Win32 API function: MoveFileEx set MOVEFILE_COPY_ALLOWED
-----Original Message----- From: Alistair George [mailto:bigal@;xtra.co.nz] Sent: Monday, 11 November 2002 1:41 p.m. To: Multiple recipients of list delphi Subject: [DUG]: Deletefile('D:\*.*'); Hi All. The above does not work as deletefile only works on single file. Is there a call to delete everything in a directory including folders? I have a procedure to do this but prefer a solid delphi call if at all possible. Thanks, Al+ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal For more information please visit www.marshalsoftware.com ##################################################################################### --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/