I have been trying to find some sample code for recursive delete - I know it can be done via FindFirstFile and FindNextFile, but I do so hate re-inventing the wheel - anyone have a good example?
Posted on 2004-04-07 11:55:55 by ethics
It is the same as recursive find with a slight change to what is done with each found file. :rolleyes:
Posted on 2004-04-07 15:15:23 by bitRAKE
yeah, but I can't even find any decent recursive file code that works properly :)

actually, I might have found one, working on it
Posted on 2004-04-07 16:03:30 by ethics
I think, that is called 'exercise', not reinventing the wheel. It is too easy not to be "decent recursive file code". Try it. I remember MASM32 includes an example code with similar idea - only it was not for deleting. If you think you don't have any clue, that would be a good starting point.
Posted on 2004-04-07 16:21:17 by Starless
A quick search of the board pulled up:

http://www.asmcommunity.net/board/index.php?topic=14133&highlight=file+recursive

Searching for "file recursive" was very fruitful.
Posted on 2004-04-07 21:36:21 by bitRAKE