Great tool Patrick_35 !
Thanks for sharing that lsp
I was using the one beneath for some time but
your repath routine also gets into unloaded dwg files..!
(save me a lot of loading time !!)
----
;; XRP2004.lsp by Mark McDonough
;; V3.2 Oct.15, 1999
;; Updated as XRP2004.lsp by Mark McDonough, 4/20/04
;; Rev.1 05/03/99 updated to work for renamed XREFs and for AK2
;; Rev.2 10/10/99 updated to work for Image paths
;; Rev 3 04/20/04 updated to remove restrictions on long filenames
;; Rev 4 12/14/06 updated to allow loading in running in AutoCAD 2007 (although it's not been tested in 2007)