Remove layer from TOC depending on its path

Discussion created by priyanka_mehta on Apr 15, 2010
Latest reply on Apr 15, 2010 by priyanka_mehta
Hi all,
   I have like 2 layers in my TOC. both have exactly the SAME name. but both are in different locations.

like : "C:\temp\Original.mdb\FD\RoadFeature"

and another is "C:\Updated.mdb\FD\RoadFeature"

Is there a way to remove only the "RoadFeature" feature class that is located in Original.mdb from TOC

Priyanka Mehta