1

I have a single folder that is exhibiting some strange behavior in the explorer

my directory looks something like this Documents/Parent/StrangeFolder/ChildFolders

When I try to open any of the ChildFolders with a double click nothing happens. when I am displaying the contents of StrangeFolder and I try to any of the ChildFolders I can't. It simply changes the folder name to be an edit control with the entire name hightlighted, but I can't change the cursor selection or type anything.

If I try to delete a folder from Parent nothing appears to happen, but I can no longer open the deleted folder. Only after refreshing the view does the folder disappear.

I have tried renaming StrangeFolder. I have tried copying and removing the original.

This is the only folder where I see the behavior happening. It seemed to happen after I messed things up and tried doing a rmdir on the command line to remove StrangeFolder and create it again. rmdir gave me some errors about it not being empty so I think I tried doing rmdir -f -r to try to make it remove the whole thing, but I don't remember.

MarkB42
  • 245

2 Answers2

3

It appears to be a corruption in the File Allocation Table (or how that thing called in an NTFS partition) where it thinks a file is there while it actually isn't. The only way to get rid of this is to format the drive. This does mean the entire drive will be erased, so this usually is not an option.

Maybe a chkdsk can fix it.

LPChip
  • 66,193
3

I would try (in order of possible solution and complexity):

  • 1.- ScanDisk: Open Elevated Console and do (for that drive):
    chkdsk c: /f
    look if there were corrected problems by reviewing the ChkDsk log.

  • 2.- This may lack a bit of logic, but sometimes a defrag has solved me this kind of problem. According to @LPChip comment, defrag rearranges files and folders on the harddrive and then rebuilds the file allocation table.

  • 3.- Boot Linux, any BootCD (like Ubuntu)or Pendrive could do, or any Recovery CD/Pendrive (like @Active BootDisk) and try to access the folder. If there is important to recover data inside, backup it.

  • 4.- Create a partition image to some clone disk tool, like PartImage, restore it to another partition or virtual device, and try to access the folder. Some image partition tools allow data accessing without restoring it. This method worked for me some times (not very often, and I must say I am not very sure about why does it work), but it is long, a bit awkward, and requires an extra harddisk, so I only use it for important data recovery and as a last hope. @Active BootDisk wear inside some tools for this, but maybe it will require registration to be used, so I better suggest CloneZilla.

  • An extra suggestion: check SMART status of the hard disk. Folder misbehaving problems sometime precede hard disk (whether spinning or SSD) failures. I don't know if Windows reports this, but you can use AIDA64, for example (try-out version available to download).