Mass delete files and directories
- From: Grand_Poobah <yoohoo@xxxxxxxxxxxxxx>
- Date: Mon, 05 May 2008 11:41:48 -0400
This may sound a bit strange, but I have never had to do this before. I am creating a program which, among other things, allows deletion of a directory. I know that RmDir will delete an empty directory, but, outside of finding the deepest sub-directory and deleting all the files in it, then deleting the actual directory and working my back up, is there another way to do this? I have some old routines that did this, but I find that they are way too slow.
A user may have as much as several gigs of files (this is a virtual simulator) in hundreds of sub-directories so this could take aeon's to complete the task. I've looked several places and am familiar woth API calls, but have found nothing that helps me much.
Using VB6, with SP6.
GP
.
- Follow-Ups:
- Re: Mass delete files and directories
- From: David Kerber
- Re: Mass delete files and directories
- From: Henning
- Re: Mass delete files and directories
- From: Mike Williams
- Re: Mass delete files and directories
- From: expvb
- Re: Mass delete files and directories
- Prev by Date: Re: Using Inno
- Next by Date: Re: TypeLibrary?
- Previous by thread: Clipboard question
- Next by thread: Re: Mass delete files and directories
- Index(es):
Relevant Pages
|