Re: Delete a directory and its contents
- From: "Tom Serface" <tom.nospam@xxxxxxxxxxxxx>
- Date: Tue, 13 Nov 2007 07:25:25 -0800
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?
.
- Prev by Date: Re: ON_UPDATE_COMMAND_UI handler does not get called
- Next by Date: Re: Help in creating dialog based application
- Previous by thread: Re: Delete a directory and its contents
- Next by thread: How to use _gmtime64_s,_localtime64_s
- Index(es):
Relevant Pages
|