windows remove-item The directory is not empty. code example Example: remove directory not empty windows rd /s /q "path"