Then check the folder again and you shouldn't see the file anymore: This will look similar to del C:\Users\user\folder-name\filename.extension: Step 3: In the Command Prompt, type del, right-click to the paste in the folder address, and append the filename with its extension (. Step 2: Head over to the folder containing the file, click on the folder address bar, and copy the address: Step 1: Open the Command Prompt by clicking on Start (or by hitting the Windows logo key on your keyboard), searching for "cmd", then hitting Enter: The following steps will help you force delete a file with the del command. How to Force Delete a File With the Windows Command Prompt In this article, I will show you how to force delete a file with the command prompt so you can get rid of a stubborn, unwanted file. These include the file being open in another program, lack of write access, a malware attack, a corrupt or out of space Recycle Bin, the file is a system file, and many others. On a Windows computer, you might want to delete files to free up disk space, or because you don't want the file(s) on your computer anymore.īut sometimes, it seems impossible to delete a file for various reasons.
0 Comments
Leave a Reply. |