Deleting zillions of tiny files from a volume
Recently I heard about an administrator who had turned on logging on a server at an inappropriately high level. The result was that there were tens of gigabytes of tiny 2kB log files filling up a disk volume on the server, and when the administrator tried deleting them from the command line using the Del command, it became evident that it was going to take several days for all the files to be deleted from the volume. What can you do in this situation?
The fastest (and best) solution is actually is to back up the volume (excluding the unwanted files), format the volume, and then restore the backed up files to the volume. This not only deletes the unwanted files but also restores the Master File Table on the volume to an appropriate size.