Take the 2-minute tour ×  I've got a large folder on an offsite
backup machine that gets populated with files by rsync (through
deltacopy) every night (running windows xp) from the main work
site. I've discovered some annoying folders that cannot be
opened, or deleted, or even checked for file sizes. I get the
such and such a folder is not accessible, access is denied
message when i try to click on it in windows explorer. According
to the windows explorer tooltip they are also "empty" and the
properties of these folders say 0 bytes and 0 files.  I
currently have a c# program that goes through every folder and
file and tries to copy the whole backup directory to a dated
backup-backup directory, which is how i discovered this problem
in the first place. The regular System.IO library seems helpless
against these blasted folders. Exceptions are thrown when I even
try to access the folder path.  Does anyone have any clue how I
could, say, on an access denied exception in my existing copy
code, force the delete of