My program recursively searches through the my document folder. The problem is it throws an exception when it hits "my videos".

There are these junction points that Vista and 7 has that I can get around. I tried to excluded hidden files but it didn't work, because I don't think it has any attributes. Sure I could code to exclude these shortcuts, but what if a user has real folders named that. So is there a way to search through my documents without even hitting these junction points?