Below is some batch script to delete a directory very fast. The code is on stack overflow here where the commenter Hugo bench marked it at 3 times faster than rmdir which itself is a hell of a lot faster than deletion via Windows Explorer.
bestrmdir.bat
rem to use, drop in your c:/windows/system32 directory
for this to be usable anywhere
rem in then command line type 'bestrmdir MyDirectory' to delete MyDirectory
del /f/s/q %1 > nul
rmdir /s/q %1
No comments:
Post a Comment