remove folders and files command form command prompt code example Example: remove folder with content cmd rmdir folder/path /S /Q