Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

fdelete error to delete directory

I am using LPC1788 with RL-ARM & Keil MDK4.
I am using the RL Flash File System with a NAND Flash.

I have created a folder & successfully added several .txt files in it.
Now i want to delete all the files in that folder in one go.

I am using the below statement

fdelete ("N:\\LIST1\\"), but not able to delete the files in the folder.

Is it possible to delete the files in a folder in this way?

Parents
  • For your kind information, i am already working around with a solution,deleting the files one by one from the directory.I came to the forum to ask why i was not able to delete entire directory in one go(Is it not a valid enough question?).

    I am not asking for you for code or direct help, it is just a query ,for which i was expecting a solution or a healthy discussion.

    With all due respect, learn to become polite & respect everyone's view point.

Reply
  • For your kind information, i am already working around with a solution,deleting the files one by one from the directory.I came to the forum to ask why i was not able to delete entire directory in one go(Is it not a valid enough question?).

    I am not asking for you for code or direct help, it is just a query ,for which i was expecting a solution or a healthy discussion.

    With all due respect, learn to become polite & respect everyone's view point.

Children
No data