What's the fastest way to delete a large folder in Windows?
What's the fastest way to delete a large folder in Windows?
What's the fastest way to delete a large folder in Windows?
Re: What's the fastest way to delete a large folder in Windows?
Using Windows Command Prompt:
```
rmdir /s /q folder
```
Using Powershell:
```
powershell -Command "Remove-Item -LiteralPath 'folder' -Force -Recurse"
```
Note that in more cases `del` and `rmdir` wil leave you with leftover files, where Powershell manages to delete the files.
```
rmdir /s /q folder
```
Using Powershell:
```
powershell -Command "Remove-Item -LiteralPath 'folder' -Force -Recurse"
```
Note that in more cases `del` and `rmdir` wil leave you with leftover files, where Powershell manages to delete the files.