Find parts that have no association with anything?

Good morning Guys,

My question of the day is: Is there a way native to SW to find all part files in a specific directory that are not associated with a drawing or an assembly? We did a massive file dump to bring all our files into a vault but before bringing in those files we are doing a major cleaning. There is so much garbage it would be nice just to cut right through most of it by knowing what part files could get chucked. Any ideas how to get this done?

Thanks,

Jim

SolidworksApi macros