Get the App
SLTechnology News&Howtos  ›  Servers  › 

Commonly used Windows forced deletion of files

Shulou Source: shulou.com Published: 2022-06-03 07:39:13 11月18日 Update

Delete the previous file

1. Delete with CMD

Rd/s/q drive letter:\ a folder (forcibly deletes the file folder and all files in the folder)

Del/f/s/q drive letter:\ file name (force deletion of file, file name must be suffixed with file name)

Delete file or directory BAT command:

Enter the following command to create a new .bat batch file, then drag and drop the file you want to delete onto the batch file icon to delete it.

DEL / F / A / Q\?% 1

RD / S / Q\? 1

Attachment: http://down.51cto.com/data/2366820

Tags: File folder Enforcement Command File name suffix Icon Directory attachment input Common method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL macOS Docker Huawei Xiaomi