6 ms·
FYI builtin command "RMDIR /Q/S foldername" is fast, at least much faster then using windows file explorer.
by mvladic 7y ago
FYI builtin command "RMDIR /Q/S foldername" is fast, at least much faster then using windows file explorer.
- apankrat 7y agoIt's mentioned on the homepage. There's also "del /f /s /q" to delete just files, followed by "rmdir /q /s" to delete just folders; and there's also "robocopy /mir" with an empty folder as a source. From what I've seen straight "rmdir" is the fastest of these three.
- 5bolts 7y agojust "RD Foo /S" if you know you want it gone why all the extra flags and steps
- jussij 7y agoNow I don't know is this makes things slower, but Windows File Explorer by default never deletes files. It just moves them to the recycle bin. If you want to bypass that step you need to use the Shift + Del keys and for that scenario Windows even warns you the action you are request is a permanent delete.
- satya71 7y agoCame to say the same. `rmdir /s` is an order of magnitude faster on windows than other methods I have tried.