Discussion Locked
0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do I delete a non empty directory structure? Don't forget to mention the library please.
6 replies
by lastorck
I think so:
Find all files and subdirectories using FindFirstFile,FindNextFile recursively, delete all files using DeleteFile, delete empty directories included higher using RemoveDirectory.
Of course all files must be closed and you've to get right for deleting it.
Regards
by hueristic
This was the method I was looking into. But I was hopeing for an Example. I don't have the time to get all this to work. The directory structure is pretty deep and my debugging time is limited. Could You either post an example code or email it to me.
by hueristic
I need a sample of the code.
mrk@cherry-semi.com
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
0 helpful
5 replies
1 helpful
3 replies
0 helpful
1 reply
0 helpful
1 reply
Question Unanswered
PDF vs HTML
0 helpful
0 replies