no I dont think that there is.
You need to loop thru the files via a TSearchRect.
I have some code, so email me priv. and I will email it to you.
Jeremy
-----Original Message-----
From: Alistair George <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Mon, 11 Nov 2002 13:40:36 +1300
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/