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