BE_DeleteFile ( 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
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.
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