remove folder and contents windows code example Example: remove folder with content cmd rmdir folder/path /S /Q