Home→Forums→MonoBrick Communication Library→Deleting folder / directory
This topic contains 1 reply, has 1 voice, and was last updated by urbanskurk 2 years, 2 months ago.
Thank you for a great library! It’s quite easy to work with, even though this is my first experience with C#.
I am working on my first (simple) program for EV3. It is supposed to list all files and subfolders in /prjs/ and delete said files and folders when prompted.
I have managed to do every bit, except deleting the empty folders – using the DeleteFile on a folder throws an error.
Am I going about this the wrong way, or what?
Oooops, seems like I got it working after all – it is possible to use DeleteFile on folders, if they are empty.
You must be logged in to reply to this topic.