Or, shorter

Kill "H:\test\*.*"



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Edd" <Edd@discussions.microsoft.com> wrote in message
news:EC99C6C1-9EA6-4929-A4D1-1F66658BC388@microsoft.com...
> Hi Experts:
>
> I want to be able to delete the contents of a directory (or
> remove and
> recreate the same directory). What is the best way to do that?
>
> (My first thought is via a DOS shell using its commands, but I
> no not how
> plus there has to be a better way.)
>
> After I delete the contents of this directory, using data from
> a colum of a
> spreadsheet, I would like to create a text file and copy that
> file to that
> directory (the whose contents was deleted).
>
> Your help is appreciated, please. Thanks!
>
>
>
>