The command
delete directory is not supposed to delete a directory with files in it. Well it doesn't, but when I run it, it deletes all the files first, then the directory.
Attached is a zip with a project and a "Media" folder. The code is simple.
There is one file in the directory that is flagged as read only. It is "openscene.mid". After running the EXE, it is the only surviving file. If you remove the read only flag, it also disappears, and the folder as well since it is now empty.
I was using the
delete directory recursively on my project folder to remove any empty folders (folders with files it it aren't deleted according to the help file), but the entire project folder is gone. Luckily, the project folder is located in my dropbox, so it was restored easily, but still...
DBP Compiler Version 1.0.0.5 (V1.05) (U77 RC7)
Tested on Windows 7 Pro 64, and Windows XP Pro 32
Edit: Media stolen from a 20-liner project I was just looking at. I needed fodder files, and that folder was already open.