How to get a folder deleted by force

How to delete files by force?

Thirteen tricks to force the deletion of files

I believe that we have encountered to delete a file, prompted by the “file is being used by other processes, can not be deleted,” the situation, the usual method is to close the use of the file of the program or in the task manager to kill the relevant process, delete. But if this also can not be deleted? At this point, you can try the following methods, I believe that at least one of them can relieve your worries:

1, logout or reboot, and then delete;

2, into safe mode or boot floppy disk (CD-ROM) boot into a pure DOS, delete;

3, if you are deleting the folder, from the inside out, that is, the folder first into the folder, delete all the contents inside, and then return to the previous directory, then the first layer of the directory, the first layer of the directory, and then the next layer of the directory, and then the next layer of the directory, and then the next layer of the directory, and then the last layer of the directory.

4, with Windows Optimizer and other file shredder to delete;

5, Win2000/XP system to log in as an administrator, and then perform the deletion of the operation;

6, if the system is WinXP, turn off the system restore, and then deleted;

7, for big files, especially compressed files, turn off the real-time monitoring of antivirus software, and then delete;

8, log out of the pre-reading function and then delete, the method: Start ¡ú Run, enter regsvr32/ushmedia.dll, OK. Reboot and then delete. Finished and then run regsvr32shmedia.dll, restore registration;

9, with WinRAR to delete, open WinRAR, point “Add”, select the file to be deleted, in the “settings” under the Tap “Delete source files after compression”, after the completion of compression, the compressed file is also deleted.

10, first of all, the file where the partition for disk scanning, scanning before the selection of “automatic repair of files and sectors”, and then delete after the completion of;

11, open a command prompt window, and then open the task manager, the end of the “Explorer. exe” process, and then delete the file. exe” process, in the command prompt window into the directory where the file is located, with the Del command to delete, finished in the task manager point “file” → new task → browse → looking for C:\WINDOWS\Explorer.exe, point “OK” can be;

12, Win2000/XP system, clear the page file and then delete. Methods: System Properties → Advanced → Performance Settings → Advanced → Virtual Memory Change → set the page file size to “no paging file”, reboot to delete. Then restore the original page file.

13, rename the file, and then delete it!

How to force delete a folder?

1, you can use the command line rd command to force the deletion of the folder, the specific use is, first of all, press the windows key to open the desktop start menu, find the run option:

2, click run, in the run text box, type cmd, and then enter to open the Command Prompt window:

3, and then In the command line, type “rd/s/qE:\acd”, where rd/s/q followed by the path and folder name of the folder to be deleted, where the /s parameter means to delete non-empty folders, and the q parameter is the Quiet Mode, which does not ask the user to confirm the deletion, and automatically deletes files in the background:

4, enter, the system did not report an error message, but a new line of command line, at this time the original can not be deleted files have been successfully deleted. The above is to force the deletion of the folder steps:

How to force delete a folder?

In Windows, it is inevitable that we will encounter a situation where we cannot delete a file using conventional methods. Especially for those who are using WindowsXP, the frequency of encountering this kind of problem is much higher. In order to lift the user’s confusion, we will try to effectively delete those stubborn files through a variety of unconventional means.x0ax0a I. Delete the stubborn files of the conventional method x0ax0a1. restart the Windows operating system, and then delete the file in the conventional way.x0ax0a2. in the DOS (or command prompt) interface with Del, Deltree and so on. commands. x0ax0a3. Delete using third-party tools that are not Windows Explorer, such as TotalCommander, ACDSee, FlashFXP, Nero and other software with the function of browsing folders. x0ax0a4. If you have more than two operating systems installed, you can delete files from the current system in other If you have more than two operating systems installed, then you can delete files from other operating systems on the current system.x0ax0a5. Press F8 at startup to select Safe Mode to perform the deletion operation.x0ax0a Below, we’ll do a specific analysis of specific problems to introduce you to the non-conventional methods that should be taken when you can’t delete a file due to a variety of reasons.x0ax0a II. “The problem performance: x0ax0aWindowsXP system, ready to delete a large-capacity AVI format files, but the system is always prompted to delete the operation can not be performed, there are other programs in use, even if the boot into the Windows system is also the case. x0ax0a Problem Solution: x0ax0a Method 1: Open Notepad, click the menu bar “File” ¡ú “Save As”, name the file and you want to delete the file name is consistent (including the extension), and then replace, you will find that the capacity to 0KB. At this point, execute the delete command. x0ax0a Method 2: Create a new folder in the same directory as the AVI file, and then reboot. Now, don’t select the AVI file, first select the newly created folder, and then press Ctrl + the AVI file at the same time, perform the delete operation.x0ax0a Method 3: Change the extension of the AVI file to any other invalid file type, and then perform the delete operation.x0ax0a Method 4: There is a once-and-for-all method is to disable the media preview function of WindowsXP, click the “Media Preview” button, and then click the “Media Preview” button. Media Preview function, click “Start” → “Run”, type: “CMD” and enter. Then in the “Command Prompt” window, type: regsvr32/ushmedia.dllx0ax0a Enter to confirm the operation will be uninstalled after the video file preview function. In the future, when you need to restore the video file preview function, enter: regsvr32shmedia.dll command in the “Command Prompt”. x0ax0a Method 5: Launch the media player that has played that AVI file, and open the other file. After that, try to delete it again.x0ax0a Method 6: You can use WinRAR program to delete it, right-click the AVI file, select “Add to Compressed File” in the pop-up menu, and then select “Delete after compression” in the “General” tab of the pop-up window. In the pop-up window, select the “Delete source files after compression” check box. After confirming the operation, the compression operation is executed. Finally, delete the compressed file. x0ax0a Method 7: Call up the “Windows Task Manager”, in which you choose to end the Explorer process, but do not close the window at this time. At this time, there will be a situation like a crash. We switch to the “Applications” tab, click the “New Task” button, enter Explorer.exe and confirm the operation. After that, the desktop is back to normal, and then perform the deletion operation can be.x0a Third, cleverly delete the “non-empty folder” or “bad file “x0ax0a Problem performance: x0ax0a In WindowsXP system (NTFS partition format), both in Explorer or the “bad” files, the “bad” files can be deleted, and then the “bad” files can be deleted. format), both in the Explorer or third-party tools can not delete the specified file, such as the use of TotalCommander to delete, first prompted by the folder is not empty, after confirming that there is no response. Even if you use DOS disk to boot, load ntfsfordospro read-write version, also can not be deleted, the prompt says “bad file name”, but you can see the folder. x0ax0a Problem Solution: x0ax0a This case of the file can not be deleted is most likely due to the long file name under the NTFS format, the file name of the file can not be deleted. file name in NTFS format. We can use the 8.3 format to reduce the length or change some of the directory names in the path to reduce the length of the path. For example, you can temporarily rename some of the directories in the path, or use the 8.3 format in command line mode. For example, the directory “LinuxFaq” becomes 8.3 as “LINUXF~1”, and you can enter the directory through “Linuxf~1”, and then you can use the Del command to delete the specified files. After that, you can use the Del command to delete the specified file. If you need to delete the directory, then use the Rd command.x0ax0a Fourth, cleverly delete the “specified program or file is in use” file x0ax0a Problem performance: x0ax0a In the execution of the file deletion operation, the system in the pop-up dialog box prompts the specified program or file is in use, can not be deleted, such as warning messages.x0ax0a Problems: x0ax0a The system will not be able to delete the specified program or file is in use. x0ax0a Problem Solution: x0ax0a Method 1: For this kind of situation, we can solve the problem by terminating the process related to the pre-deleted file. How can you find out which processes are associated with a given file? You can use WhoLockMe to find out. We run “Install.exe” to install the program. x0ax0a Below, go to the directory where the pre-deleted file is located, right-click on the file, and select “WhoLockMe?” in the pop-up menu. x0ax0aThen the “Lockers” window will pop up, in which we can be informed of all the processes currently calling the file. x0ax0aSelect the name of the process, click on the “KillProcess” button, the pop-up menu will appear. “Kill-Confirmation” dialog box, where you can click the “Yes” button to confirm the end of the process operation. After the end of all the corresponding processes, you can delete the specified file through the normal way. x0ax0a Tip: In fact, this method is especially suitable for deleting the Trojan horse servers, this extremely threatening little thing only blocked all the processes related to it can be deleted. x0a Method 2: If the specified program or file called DLL dynamic link library file is still in the memory has not been released, the deletion of the file will be prompted in use. will prompt that the file is in use. In this case, we can delete the system page file in the DOS environment, Windows9X system is “WIN386.SWP” file (located in the Windows directory of the system disk), Windows2000/XP system is ” pagefile.sys” file (located in the root directory of the system disk).x0ax0a Method 3: If the system is resident in the virus firewall, and it is checking the file you are going to delete during the scanning and checking for viruses, then the system will also indicate that the file is in use. At this point, we just need to pause the real-time monitoring operation can be.x0ax0a Fifth, clever deletion of other categories of strange filesx0ax0a1. user permissions problems lead to the inability to delete filesx0ax0a If the current Windows user logon identity does not have the permission to delete the specified file / folder (for WindowsNT/2000/XP/2003 operating system) If the current Windows user login identity does not have the permission to delete the specified file/folder (for Windows NT/2000/XP/2003 operating systems), just log in as administrator again.x0ax0a2. Illegal characters cause the file or folder can not be deletedx0ax0aIf it is due to illegal characters that cause the file or folder can not be deleted, you can enter the directory where you want to delete the file at the “Command Prompt” interface, and enter “dir>del.bat”, using DOS pipeline commands to automatically input the list of files in the current directory into the batch command file “del.bat”, and then modify the batch command file to retain only the file or directory name and Add “del” or “rd” in front of the file or directory name, and then run the batch command to delete it.x0ax0a3. Unable to delete any files in the systemx0ax0aCheck if there is any anti-deletion protection software installed in the system. If you have any questions, please contact us. x0ax0aWell, the above details for you to delete stubborn files of several tricks, I believe that will be a few tricks, you will be able to easily eliminate these strange files. x0ax0aThis is the first time in the world that you will be able to delete the files of the system.

How to delete files on windows 10

In the process of using windows 10, we often find that we can’t delete some files, at this time, we can only completely crush the files by forcing them to be deleted. Today, I will tell you several ways to force the deletion of file commands, to let you quickly delete unwanted files.

One, Explorer delete

Some files can not be deleted may be because it is currently running, this time we can through the Resource Monitor to delete the file, first of all, in the Win10 interface to open the lower left corner of the search button, enter the Resource Monitor, and click to open

Open after selecting the cpu, in the associated handle, enter the corresponding file name.

After the search result pops up, right-click on the mouse and choose End Process, after which you can try to delete the file.

Two, the new delete

In the desktop to create a new txt-format file to enter two lines of command, the first line “DEL/F/A/Q\\? DEL/F/A/Q\\%1”, the second line “RD/S/Q\\%1”. After that save the document.

Right-click on the document properties, in the General will be the name of the deleted.bat. If the original file does not show txt format, you need to first set out the file extension before you can continue to change the name.

After clicking OK, you can find the file icon has changed. Will need to delete the file directly dragged to delete.bat inside you can complete the mandatory deletion.

Three, run the command to delete

The desktop hold down the “Win + R” shortcut key to open the “Run” window, type “cmd” and click OK! Open the command prompt

Open the command prompt, type del/s/f/q after leaving a space, enter the file name to be deleted, such as _F:\WPSCloud\1.xls

After clicking enter you can pop up the file has been deleted.

Four, software forced to delete

You can also be forced to delete the file through some of the software housekeeper, such as fire velvet or 330 security guards, Tencent housekeeper and so on. Here to fire velvet as an example. Open FireVelvet, click Security Tools

Select File Shredding

The system will take a while to download the plug-in. After that, you can directly right-click and drag the file inside the page to complete the deletion process.

Summary

The above are a few easy ways to force delete files in windows 10, hope it will help you.

What is the command for “Force Delete File”?

1, first of all: in the start – run, in the run text box type cmd –> enter, wiXPn7 directly in the search box type cmd –> enter

2, in the pop-up black run window inside the input figure: del/? —> and then hit the Enter button. This will show the help information of this command. This screenshot of the window is changed properties, the color is not black. Just type the above command in a DOS window.

3, according to the help of the information to get the command to use is: del [parameters] [path folder or destination file]

For example:

To delete the “TimeEventNSIS.log” file under the c disk

This command is written as: delC:\TimeEventNSIS.log

If the deletion is mandatory, then write: del/F/S/QC:\TimeEventNSIS.log

If the deletion is a folder, then write: del/F/S/QC:\XXX folder

4, the last is, of course, the return to the execution of it! Of course this command can also use wildcards.

such as: . *? These

For example, to force the deletion of C:\XXX folder below all the notepad files.

Then the command is: del/F/S/QC:\XXX\*.txt —->Enter

You can delete all the notepad files under the C:\XXX folder.

1, third-party software tools: ice blade, unlock are forced to delete files, viruses, Trojan horses file powerful tool.

You can search directly in Baidu, download and install the use. The operation is very simple, watching the Chinese subtitles can be operated.

There is no need to repeat. If it is a virus, Trojan horse file is recommended to be deleted in safe mode!

2, 360 Security Guard, if their computers have been installed on the 360 Security Guard, and lazy down other software, then directly with the 360 forced to delete files. Right-click on the file, select “use 360 forced to delete”, carefully determine the file to be deleted, click on the file shredding.

3, if you click to crush the file can not be forced to delete, the file process is still hanging in the background, you need to delete the process, if you do not want to use the task manager to find the process, do not want to bother to log out of the computer or reboot the computer, then right-click on the file, select the “use of 360 to unoccupy the same You can do this by right-clicking on the file and selecting “Use 360 to uninstall”, and then forcing the file to be shredded.