You can use the command prompt to delete a file or a folder if you encounter such a problem. So if you still find it hard to force delete a file, make sure it's not open in another program, especially an Office program.In some cases, Windows is not allowing some users to delete their files or folders. The del command will delete a file even if it's open in another program, with the exception of Office programs like MS Word. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |