Luckily, you can force delete, close, or edit a file using a few simple tricks. Close the Program You Opened the File With Let's start with the obvious. Did you just open the file and not close it?