Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Koen Piller
  Where is Koen Piller?
 Santpoort-Zuid
 Netherlands
 Koen Piller
 To: Rick C. Hodgin
  Where is Rick C. Hodgin?
 Indianapolis
 Indiana - United States
 Rick C. Hodgin
 Tags
Subject: RE: remove directory
Thread ID: 373496 Message ID: 373654 # Views: 31 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Sunday, March 24, 2013 10:32:17 PM         
   


> > Rick,
> > your function starts on top, I shall have to recode to start with deleting at bottom.
>
> Not sure what you mean.
>
> My function iterates as it goes. It starts at the directory you want deleted and goes down through every level as it finds sub-directories. When it completes a level and there are no more directories beneath, it deletes that directory and comes back up to its parent. When it gets to the end of the original directory, it's done.
>
>
> > P.S. please dont start again with the mDot discussion in a non related topic. We differ opinion that's clear. I realy dont want to end up in an endless yes-no fruitless discussion, sorry. If you realy would like, lets start a new ( for nth time a mDot questioning) thread in which I might even participate.
>
> It's one question, Koen. That's it. I have no intention of even responding (other than to acknowledge I read your response).
>
> However, I am legitimately curious about how often this has come to bite you (or your work associates) that you find it necessary to include a tagline warning on every post.
>
> Best regards,
> Rick C. Hodgin
Rick,
in order to avoid errors like "cannot delete since directory is not empty" it should start at the bottom and work its way up. i
I will code the recursive method and post it here for your convenience.

mDot: please enter in the search box of this forum: mDot Foxypreviewer the second hit already shows a mDot collision.

Regards,
Koen


** The coding in VFP without using mDot should be qualified as recreational **

ENTIRE THREAD

remove directory Posted by Koen Piller @ 3/22/2013 3:47:27 PM
RE: remove directory Posted by Rick Hodgin @ 3/22/2013 4:14:18 PM
RE: remove directory Posted by Paul Gibson @ 3/22/2013 4:16:25 PM
RE: remove directory Posted by Samir H. @ 3/24/2013 8:28:18 AM
RE: remove directory Posted by Koen Piller @ 3/24/2013 1:40:08 PM
RE: remove directory Posted by Samir H. @ 3/24/2013 3:04:26 PM
RE: remove directory Posted by Koen Piller @ 3/24/2013 5:07:28 PM
RE: remove directory Posted by Rick Hodgin @ 3/24/2013 7:13:54 PM
RE: remove directory Posted by Koen Piller @ 3/24/2013 9:15:33 PM
RE: remove directory Posted by Rick Hodgin @ 3/24/2013 9:46:27 PM
RE: remove directory Posted by Koen Piller @ 3/24/2013 10:32:17 PM
RE: remove directory Posted by Rick Hodgin @ 3/24/2013 10:35:50 PM
RE: remove directory Posted by Rick Hodgin @ 3/24/2013 10:43:07 PM
RE: remove directory Posted by Koen Piller @ 3/24/2013 10:50:04 PM
RE: remove directory Posted by Rick Hodgin @ 3/24/2013 10:54:13 PM