Deleting folder / directory

HomeForumsMonoBrick Communication LibraryDeleting folder / directory

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5543
    Author Image
    urbanskurk
    Participant

    Hi

    Thank you for a great library! It’s quite easy to work with, even though this is my first experience with C#.

    So,
    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?

    #5544
    Author Image
    urbanskurk
    Participant

    Oooops, seems like I got it working after all – it is possible to use DeleteFile on folders, if they are empty.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Posted in

Make a donation