Hi!
Searching on help and forum about DELETE dir... I found a "trick DOS" shell command in forum for delete folders on computer...
but
I NEED delete function that works on all compiled platforms...
Any help?
TIA, Hark0
Have you tried using KILLFILE?
You must to delete the contents of the directory and then the directory. You could use a shell command depending the platform. In Windows use "del /s /q dir" and in Unix-like platafoms (android/webos/iphone?) use "rm -rf dir". These commands delete the dir and all the contents without confirmation. Be carefull with this.
One function to simply recursively list all and then delete each file item and folder would be the general way for all platforms for content that was produced by the app in it's user document folder. :whistle:
This will good... Like we have createdir.. deletedir, or killdir, will be a nice command and very usefull...
please aware this can been dangerous, howover use recursively deleting. There is one in SLDActivity.java doing that for Android. Adapt that to glbasic.
Well guys, thanks for your answers. ;)
I need of using IMPORT files on IOS, i currently moving my imported files from Inbox folder to another inside /Documents...
I no want to "show" Inbox folder in "Sharing files" on Itunes... then, first I move file, and second delete folder.
I make test with "rm -rf dir".
;)