How to delete a folder and all contents using a bat file in windows?
I want to delete a folder with all files and subfolders using a bat file.
I have tried the following, but it is not working:
Can anybody help?
5/4/2020 4:03:43 PM
@RD /S /Q "D:\PHP_Projects\testproject\Release\testfolder"
Removes (deletes) a directory.
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
2/14/2018 5:53:11 PM
Read more... Read less...