BE_FileDelete ( path )


Deletes the file at location path. This function doesn't send files to the trash or recycle bin, so use with caution. Files deleted are gone.


Version : 1.0
4.0.2 : Renamed from BE_DeleteFile


Parameters :
path : a system file path.


Result : 0 for success, 0 if the file doesn't exist, 1 if the file to delete is locked and can't be deleted, or an OS error number for failure.


Examples :

BE_DeleteFile ( "/Users/username/Desktop/myNewFolder" ) //deletes a folder and all of it's contents

BE_DeleteFile ( "/Users/username/Desktop/fileA.fp7" ) //deletes a file

Still need help? Contact Us Contact Us