So, you want to delete a file from your Windows laptop (or PC), and you get an error message like “Invalid file handle” (as seen in the picture below). It really can break your nerves. What can you do? How can you delete such a file? Okay! Take it easy. There is something you can do. These are the steps that may help you:
- Open the Command Prompt (or CMD) software as an administrator. To do this write CMD on the search box. Right-click on the Command Prompt and choose Run as Administrator.
- By typing del /? and Enter, you get the various options of delete/erase commands in Command Prompt software.
- Right-click on the file you want to delete and type the option Copy as a path
- To delete a file, type in the CMD line: del /f /s /a followed by the name of the file you want to delete (as it was saved in step 3). Press Enter. The file is being deleted/
You can also see the following informative video:
Can’t Delete A File or Folder in Windows 11? Force Delete It – YouTube