|I have a machine that has the internal drive partioned into a C and D drive. I also have a Iomega 1.5 TB drive which is F drive. I am trying to sync my D and F drive to make sure they are the same. Once I do this I will keep them in syn using a tool like synctoy.|
I am doing the comparison of the drives by using using a combination of batch file and perl script. The problem I am running into is that the F drive reports files in a directory called $recycle.bin. I looked in windows explorer and cannot seem to see these files. When I look at the F drive in windows explorer, here is what I see;
2 Recycle Bin folders at the root level
a Recycler directory at the root level
$recycle.bin at the root level with 2 Recycle Bin under it
When I do a properties on the drive and look at the free space and compare that with the free space I get at the end of a dir command, the free space is identical. However when I look at the $recycle.bin folder in windows explorer, I cannot see the directory or folders that the dir command shows.
I just discovered that if I go to F:\$recycle.bin and do an attrib *.* it comes back with nothing. However if I do a dir /S I see directories beginning with S-1. Some of these S-1 directories have folders under them like $R5YT92S. If I cd individually to each of these directories I can see the files that show up in my listing, and I am able to delete them. The problem will be what happens next time I delete a file on this drive. Will I have the same problem.
Any suggestions would be greatly appreciated. I will also mention that I have already madure I have set my computer to display hidden files and folders, unchecked hide protected operating system files, unchecked hide extensions.