Deleting a folder

    Feb 04 2021 | 11:40 am
    Does anyone know of a function to delete a folder?

    • Feb 04 2021 | 4:00 pm
      One modern and portable way is to use Node.js. Have a look in the Extras -> Node For Max Overview -> File System. It should work in js too. Or there is this, in Java. And probably many other solutions…
    • Feb 04 2021 | 4:18 pm
      shell and then rmdir on Mac or RD on windows
    • Feb 04 2021 | 4:34 pm
      Thank you @PDELGES and @SOURCE AUDIO. I'm already using the NodeJS solution; a C API function was what I was looking for. (Windows RemoveDirectory() from "fileapi.h" cannot be used). Meanwhile, J. Bernstein informed in the facebook group that no API function for that was made available.