Respostas:
@RD /S /Q "D:\PHP_Projects\testproject\Release\testfolder"
Remove (exclui) um diretório.
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 /q c:\where ever the file is\*
rmdir /s /q c:\where ever the file is\
mkdir c:\where ever the file is\
del / s / qc: \ sempre que o arquivo estiver *
Isso exclui todos os arquivos da pasta e das subpastas, mas deixa as subpastas vazias
with all files and subfolders