Hi...
You didn't tell us what server it was, so here are a couple of options, one Perl(ish) and one not...
- If you are running under apache, see if mod_rewrite is available - if so you need to ad a ReWriteRule into your .htaccess file... this can redirect one URI to another... just enter one rule per doc/target as needed - this saves the browser actually loading the docs.
- The Perl solution would be to use Win32::OLE to parse all of your documents looking at their Hyperlinks collections and selectively updting their targets.
- I'm sure IIS has some equivalent to mod_rewrite... but then again...
You've really not given us enough info to go on... (server type? number of files?) and your replies have been surprisingly helpful :-) - if none of the above sound good then I respectfully suggest manually opening the files and editing the links...
HTH - mark