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.
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
Then We use DOS commands to force deletion, click the desktop start button, find the run option
, click Run, enter CMD in the run text box, and press Enter.
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
After pressing Enter, the files that could not be deleted have been successfully deleted
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
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
After pressing Enter, the original file that cannot be deleted has disappeared
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver Mac version
Visual web development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool