Permanently delete files using specialized software.
Use “DEL” command to force delete a file in CMD: Access CMD utility. To delete a file, use the following command: del ''. Until it’s overwritten in the future, people can scan the drive and recover the marked-as-deleted data. How to Remove Files That Cannot Be Deleted Deleting a file or folder from a Mac is as easy as hitting the Command + Delete keys, but on rare occasions stubborn files may refuse to be deleted.
How to delete files that cannot be deleted Next, run CHKDSK (checkdisk) on the drive to ensure that your file system is not dirty (which can also prevent you from deleting a file or folder).