How to remove stubborn folders with DOS commands Ah _dos/bat

Source: Internet
Author: User
Tags safe mode
First, the general solution:

1. Remove or reboot the computer, and then try to delete it.

2. Enter Safe Mode removal.

3. Use the Del,deltree and RD commands on the Pure DOS command line to remove it.

4. If you have more subdirectories or files in a folder that cannot be deleted, you can delete the subdirectories and files in the folder, and then delete the folders.

5. End the Explorer.exe process in Task Manager, and then delete the file at the Command Prompt window.

6. If you have installed acdsee,flashfxp,nero,total these software, you can try to delete the folder in these several software.

Second, Advanced Solutions:

1. Disk error
Run a disk scan and scan the partition where the file is located, make sure that the repair files and bad sectors are selected before scanning, scan all options thoroughly, and then delete the files after scanning.

2. Pre-read mechanism:
Some media playback is interrupted or is being previewed, causing an inability to delete. In the Run box, enter: regsvr32/u Shmedia. DLL to log out of the read-only function. or delete the following key value in the registry: [Hkey_local_machine\software\classes\clsid\{87d62d94-71b3-4b9a-9489-5fe6850dc73e}\inprocserver32 ]。

3. Firewall:
Because anti-virus software consumes the files that are being checked while it is being searched, causing the prompt file to be used when the deletion is performed, you may be able to try to temporarily turn off its immediate monitoring program.

4. OFFice, WPS series software:
Illegal shutdown of office can also cause files to be deleted or renamed. Rerun the program, then shut down normally, and then delete the file.

5. With the help of WinRAR:
Right-click the folder you want to delete and select Add to compressed file. In the pop-up dialog box, select the "compressed delete source file," Write a compressed package name, point to determine.

6. Permission issues:
If you are a 2000 and XP system, first determine if you have permission to delete this file or folder.

7. Removal of executable files:
If the executable's image or program calls DLL dynamic-link library files are not released in memory, the deletion prompts the file is in use, the solution is to delete the system's paging file, Win98 is Win386.swp,win2000/xp is Pagefile.sys. Note that you want to remove it in DOS.

8. File Crushing method:
Using file shredder, such as file Pulverizer, you can completely remove some stubborn files.

Iii. making a "file safe" that cannot be deleted

Folder can not be deleted, not necessarily bad things, if you put some important documents in this directory, can not avoid mistakenly deleted it? A folder with a file name that contains only spaces is not allowed to be created and deleted in Windows, but in DOS it is possible to create a folder with a file name containing \.
References: http://www.yesky.com/SoftChannel/72350072720850944/20050104/1896514.shtml

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.