Can you call a system command eg delete, there use to be deltree which deleted subdirectories... Regards Paul McKenzie Analyst Programmer SMSS ltd.
----- Original Message ----- From: "Alistair George" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 1:40 PM 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/ > --------------------------------------------------------------------------- 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/