del contents of folder cmd code example Example: remove folder with content cmd rmdir folder/path /S /Q