Hello, I have to change the xrefs of 400 files. I was wondering if anyone have a fast lisp or programming routine to use.

Basically we have files named superbuilding1-floor1 found in C:/files/superbuilding1-floor1.dwg but now the file would be called superbuilding1-abc found in Z:files/superbuilding1abc.

The name of the new xref is very similar so it is possible to use a wild card character like building1* Unfortunately the last parts of the dwg names is not always going to be the same.

The old path and the new path will always be the same location. What would be the easiest way to do this?
Thank you very much. I looked up some of the other routines but none of them seem to be making this process any faster. Any advice is appreciated.