Re: Delete a directory and its contents



To add to David's suggestion here is a function that might do what you want if you don't want to use the shell function. You could modify this function to get any kind of resolution you want (I.E., only delete certain files from all levels).

http://www.codeproject.com/file/removefiles.asp

Tom

"Charles Tam" <CharlesTam@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:52251E04-4F35-4D3B-B24B-B9FA6B51CC37@xxxxxxxxxxxxxxxx
What is an efficient way to delete a directory and its contents?
Could I avoid iterating through all its contents and delete each one?

.



Relevant Pages

  • Re: EXCEL should let me establish unlimited numbers of columns.
    ... The forthcoming Excel 12 will include 1,048,576 rows by 16,384 columns. ... LIMITED NUMBER OF 256 COLUMNS THAT IT IS IMPOSSIBLE FOR ME TO MODIFY. ... This post is a suggestion for Microsoft, ...
    (microsoft.public.excel.misc)
  • Re: shell function over network drive
    ... I will try your suggestion with the run command. ... you suspected I did not reinstall Microsoft Word - but that first part ... This shell function works fine if the file is on the C: ...
    (comp.databases.ms-access)
  • Re: How to set the default color for fill in functon?
    ... Excel cannot change the default fill color of hte fill color icon on the ... "Dave Peterson" wrote: ... Do you have any suggestion on how to modify ...
    (microsoft.public.excel.misc)
  • Modifying the default find tool
    ... I am looking for a suggestion to modify the default find tool for my form. ... The names of the fields I want to search are FACILITYID and ... SERIALNUMBER. ...
    (microsoft.public.access.forms)
  • Re: Active Directory and DNS Server issues
    ... file right after I restart the netlogon services? ... I've got some suggestion to modify the registry so that dynamic updates ...
    (microsoft.public.windows.server.migration)