Home  >  Article  >  What is the command to forcefully delete a folder?

What is the command to forcefully delete a folder?

藏色散人
藏色散人Original
2021-04-08 15:24:4051083browse

The command to forcefully delete a folder is "rd /s/q". The method of use is: first click the desktop start button and find the run option; then enter CMD in the run text box and press Enter; Finally, enter the "rd /s/q E:\acd" command on the DOS command line to forcefully delete the specified folder.

What is the command to forcefully delete a folder?

The operating environment of this article: Windows 7 system, Dell G3 computer.

First explain how to forcefully delete a folder: when deleting a folder, it cannot be deleted, and the prompt shown in the figure below appears

What is the command to forcefully delete a folder?

Then We use DOS commands to force deletion, click the desktop start button, find the run option

What is the command to forcefully delete a folder?

, click Run, enter CMD in the run text box, and press Enter.

What is the command to forcefully delete a folder?

Then in the DOS command line as shown below, enter: rd /s/q E:\acd, Note: rd /s/q is followed by forced deletion. The path and folder name of the folder

What is the command to forcefully delete a folder?

After pressing Enter, the files that could not be deleted have been successfully deleted

What is the command to forcefully delete a folder?

Let’s explain how to forcefully delete files: When I delete the file in the picture below, it prompts that the file is in use and cannot be deleted

What is the command to forcefully delete a folder?

Then I use the DOS command to force it To delete this file, also operate in the DOS command line. In the command line, enter: del /s/f/q e:\QXOpenGame.exe. Note: del /s/f/q is followed by the path of the file that needs to be forcibly deleted. And the folder name, the file name should be followed by the extension

What is the command to forcefully delete a folder?

After pressing Enter, the original file that cannot be deleted has disappeared

What is the command to forcefully delete a folder?

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What is the command to forcefully delete a folder?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn