If I understand you correctly, you want to open each dwg and place the name
of the dwg in the drawing (where?). Is that correct? If so, in 2005 you can
use fields and migrations tools- scriptpro to do this. 2004 and under you
could use a diesel expressions along with scriptpro.