Share this page 

Quickly delete files (Windows)Tag(s): Misc Prog HowTo

Windows doesn't perform very well with a folder containing several thousands of files, especially on a network.

The performance is not very good if you have thousand of files.

A quick way to delete a large amount of files is to open a DOS Shell and type :

del /f/s/q foldername > nul
to delete all the files in foldername. To remove the empty directory structure, type
rmdir /s/q foldername

To delete from the Windows Explorer, use [shift] + [del] to delete without using the Recycle Bin.