Re: Remove folders




"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


.



Relevant Pages

  • Re: Remove folders
    ... Harold Druss wrote: ... Assuming you're not writing the Next Great Virus, ... "methodically, from the bottom up." ...
    (microsoft.public.vb.general.discussion)
  • Re: Remove folders
    ... Assuming you're not writing the Next Great Virus, ... "methodically, from the bottom up." ... on drilling through the file system. ...
    (microsoft.public.vb.general.discussion)
  • Re: [SLE] Have you seen this? - A new Rule for the Country Club
    ... so I just can't put my thought in writing as good as ... Some people top-post, some botton-post, others something in between. ... By searching I mean that there is no fixed amount of lines from the previous ... the bottom, and search is needed. ...
    (SuSE)
  • Re: Is my computer infected.
    ... pulls far enough apart to never make contact. ... onset and the cursor dropping to the bottom of the screen points to a bad ... Your problem is much more likely to be a hardware or software problem ... Is this a virus and if so what should ...
    (microsoft.public.security.virus)
  • Re: Free folk music
    ... To top or bottom post is ... At the time of writing, 87 posts in this thread have made it past my ... Jacey Bedford ... or any other forum that reprints usenet posts as ...
    (uk.music.folk)