2017-02-23 01:47 AM
Hello,
I wanted to delete the directories created using f_mkdir(). I have created some files inside directories. I could delete the individual files inside directories but unable to delete the entire directory.
My application includes number of directories and each directory consist of 100 files.
Would appreciate your response...!!!
Thanks in advance,
Nikhil
2017-09-10 12:00 PM
Hello,
I have exactly the same request.
Did you finally managed to get a solution? I would appreciate if you could share your solution if any.
Thanks
2017-09-10 04:39 PM
You'd need to enumerate through the content deleting the files as you go and descending into the subdirectories. If recursion isn't appealing you could create a processing list where you come back to the directories after the files have been removed.