Answers:
@RD /S /Q "D:\PHP_Projects\testproject\Release\testfolder"
说明:
删除(删除)目录。
RMDIR [/S] [/Q] [drive:]path RD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree. /Q Quiet mode, do not ask if ok to remove a directory tree with /S
del / s / qc:\无论文件在哪里*
这将删除文件夹和子文件夹中的所有文件,但保留空白子文件夹
with all files and subfolders