windows cmd remove folder recursively code example Example: how to delete directory recursively in windows del /s /q *.* the /q does the delete without any prompts