Re: Remove folders
- From: "MikeD" <nobody@xxxxxxxxxxx>
- Date: Wed, 15 Mar 2006 19:10:50 -0500
"Karl E. Peterson" <karl@xxxxxxxx> wrote in message
news:ukwzuZFSGHA.1236@xxxxxxxxxxxxxxxxxxxxxxx
Harold Druss wrote:
My question is if how could I remove all files and folders beyond a
given path.
Assuming you're not writing the Next Great Virus, the answer would be
"methodically, from the bottom up." There are any number of samples on
drilling through the file system. For a pure VB answer, see
http://vb.mvps.org/samples/DirDrill
Isn't the OP just talking about subfolders? Doesn't SHFileOperation delete
them as well? Might need to specify some options for it, such as the one
for answering yes to all prompts.
--
Mike
Microsoft MVP Visual Basic
.
- Follow-Ups:
- Re: Remove folders
- From: Randy Birch
- Re: Remove folders
- From: Karl E. Peterson
- Re: Remove folders
- References:
- Remove folders
- From: Harold Druss
- Re: Remove folders
- From: Karl E. Peterson
- Remove folders
- Prev by Date: Re: test printer code
- Next by Date: Re: Good movie players other then MediaPlayer
- Previous by thread: Re: Remove folders
- Next by thread: Re: Remove folders
- Index(es):
Relevant Pages
|