G,
Aside from the Delphi options suggested.... If you have the RX components
installed (www.rxlib.com) you could use ClearDir function from their
FileUtil unit......
------------------------------------------------------------------------
--Donovan
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems, Delphi Developer
Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
TVisualBasic = Class(None);
------------------------------------------------------------------------
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of gajo
> Sent: Saturday, 21 January 1995 04:58
> To: Multiple recipients of list delphi
> Subject: [DUG]: Delete *.*
>
>
> How can I delete all files and subdirectories in a directory? Sort of
> like deltree in MS-DOS. If you don't know the answer to this, then I
> would be happy by just knowing how to do a del *.* (delete all files in
> a dir) in Delphi 3.
>
> Thanks, Gajo
>
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz