How to Delete Files That Cannot Be Deleted. Close any open programs and try deleting the file again. The most common reason that a file cannot be deleted is because a program is still using the file. Try closing all of your open programs and attempt to delete the file again. If the file still can't be deleted, read on. Open the Command Prompt. If you can't delete a file because it is in use by another program, the quickest way to delete it is by using the Command Prompt. Press the Windows key + R and type cmd to open the Command Prompt. Navigate to the location of the file you want to delete. How To Delete Files In Dos PromptYou can see the path to the file in the Explorer window. Type cd C: \path\to\file and press Enter. Replace C: with the actual drive letter and path\to\file with the address of the folder. Type . dirand press Enter to see a list of files. Make note of the exact filename and extension of the file you want to delete. Press Ctrl + Shift + Esc to open the Task Manager. You will be forcing Windows Explorer to close. Select the . Processestab and selectexplorer. Windows Explorer". Click the End task button. This will close your desktop, leaving just the Command Prompt and any other open windows. Return to the Command Prompt and type . This will attempt to delete the file that you specify. Make sure to include the full name and extension. Delete the containing folder if you still can't delete the file. Sometimes, deleting the folder will allow you to delete the file that it contains. Keep in mind that deleting a folder will delete all of its contents.
You are here: Help > MS-DOS. Microsoft DOS del command. About del Availability Del syntax Del examples. About del. Del is a command used to delete files from the. I've searched around a bit and I can't seem to find a discussion about my particular problem. I cannot delete files or folders from the c: drive, even. Type rmdir /s directory. Name and press Enter.[1]9. Try booting into Safe Mode if you can't delete the file. If your file still cannot be deleted, you may need to boot into Safe Mode. This will load only the essential processes, hopefully allowing you to delete your file. Reboot your computer and rapidly hit F8 until the Advanced Startup menu appears. Select Safe Mode with Command Prompt from the menu. Windows will load its essential files and then take you directly to the Command Prompt. Follow the steps above to navigate to your file and try deleting it again. Try deleting using the file's short name. Sometimes odd characters can cause problems with deleting the file. Using the file's "short name", or DOS- compatible name, may help. Navigate to the file's directory and type dir /x. Note the short name of the file (i. FILENA~1. XYZ). Type del FILENA~1. XYZ and press Enter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2016
Categories |