My sister-in-law has a backup drive that contains all of her files. Her PC recently crashed and we are in the process of trying to restore some of her files. I wrote a program to grab specific files off her backup drive and then copy them back to her machine, but I'm getting an error message when doing Directory.GetFiles(path) that says "System.UnauthorizedAccessException". I've googled that, and all I can find is that it's for ASP.NET stuff and the way to get around it is by changing the permissions on the desired drive. Well, what if I can't do that; I only want specific files off this device, I don't care about the hidden system files. Is there a way to get around this? A try/catch won't work (I don't think); Is there some way to filter when doing a Directory.GetFiles?
TIA
TIA