2

I have a particular folder on a secondary hard drive with a couple of hundred JPEG files in it (specifically Steam screenshots). A couple of days ago I noticed that, with thumbnails enabled, I can no longer open this folder, either in Windows Explorer or using Steam's screenshot viewer, without the disk effectively seizing up - it reports 100% disk usage and will take an age to process any further requests. This will continue indefinitely until reboot. After a little experimenting, I tried to compress this folder using 7z. Compression actually failed, reporting two corrupt files (helpfully, it did not report their names).

After some research I switched off thumbnails temporarily and was able to open the folder. I then switched to Details view and enabled the Dimensions column, as it has been suggested that if this data is missing then the file is corrupt. The disk seized up again.

My question is - is there any way I can determine which of these several hundred files are corrupt so that I can either repair or delete them, without causing the disk to fall over?

SDsolar
  • 1,696

2 Answers2

1

Since you only have a few hundred files, then I suggest that you use a binary search to figure out where the bad files are.

You start off by compressing half of the files. If it reports a bad file, then you go back and try to compress half of that set. And so on, until you find the bad file(s).

Then you go back and do the same process on the second half of the files.

While a tad laborious, this will definitely locate the bad files.

SDsolar
  • 1,696
0

Had that same issue. I used the Windows resource monitor, disk TAB to find out which files explorer was accessing. Deleted the files.