Broken links to database stored gif's

I installed 9i AS 1.0.2 for NT and immediately after that the hlw-tutorial files. Now some (not all) links are broken, e.g. in the hlw navigation bar the link to the "home" (http://servername/pls/portal30/docs/249.gif). The file 249.gif is stored in wwdoc_document$ with a pathid of 209. As I didn't find an appropriate table in user_tab_columns resolving the pathid: does anyone know where this pathid is resolved or - even better - what the cause of that error is?
Thanks in advance
Klaus

I have the same problem. Without any known reasons the links to many items are broken. These are not only gif-images but all items which are created or linked in a content area. When i click on such a broken link-item the following error-message appears:
Invalid name
DAD name: portal30
PROCEDURE :
URL : http://mypc:80/pls/portal30/docs/470.gif
PARAMETERS :
===========
ENVIRONMENT:
============
PLSQL_GATEWAY=WebDb
GATEWAY_IVERSION=2
SERVER_SOFTWARE=Apache/1.3.12 (Win32) ApacheJServ/1.1 mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.22
GATEWAY_INTERFACE=CGI/1.1
SERVER_PORT=80
Who knows the reason for this problem ? Can anybody help ?

Similar Messages

  • Broken Links for music stored on external drive

    I take my laptop with me when I go on the road but do not take my external HD where I have much of my music stored. If I am gone long enough - itunes will "forget" where those files are stored and will ask me to individually point to their location. It will of course recognize the external HD when I return - but the file extension data on how to connect each library entry with its corresponding data file is wiped. This gets a little old when we are dealing thousands of files. Isn't there any way to tell itunes what you would tell any other pathetic child looking for a lost toy, "just look in the last place you left it you dummy?"

    Sorry but iTunes is stupid that way. I have just learned to not open iTunes unless I am connected to my home network where my library is stored.

  • Broken link to Oracle9i Database Globalization Support Guide Release 2 (9.2

    http://otn.oracle.com/documentation/oracle9i.html
    broken link to Oracle9i Database Globalization Support Guide Release 2 (9.2)
    http://download.oracle.com/docs/html/A96529_01/toc.htm
    only appear 404 error message.

    Hi Hannuri,
    I am not encountering this issue. Perhaps is has been resolved. Please confirm if you are still having this problem.
    Thanks and regards,
    Les

  • Inserting or embed and image into cfmail output from a database-stored path to an actual image.

    I am trying to insert or embed and image into cfmail from a database-stored path to an actual image. The actual JPEG image is stored in a folder called "images_personnel". The path to the image under the column titled photopath is stored in my database table as "/file/images_personnel/28.jpg". Displaying the image on the screen renders without a problem, embedding the same image as part of a cfloop query does not insert/embed the image into an email. All of the other output of the same cfloop displays and emails just fine. However none of the photos of each personelle show up. What an I doing wrong?
    My code is below:
    <cfquery name="Staffreport" datasource="master">
    Select staffreport.*, name.personnelid, name.email, name.last, name.noiid, stafflt, CONCAT(name.fname,' ',name.middle,' (',name.last,')') AS teammember, CONCAT(name.fname,' ',name.middle) AS teammember2, concat(name.photopath,'',name.photo)as hisphoto, stafflt.*, trim(concat(ltfname,' ',ltmiddle)) as LT from Staffreport, name, stafflt
    where 0=0
    and stalt = '#Session.user_id#'
    and ltid = '#session.user_id#'
    and staweekbegin = <cfqueryparam value="#form.staweekbegin#" cfsqltype="cf_sql_date" />
    AND staweekend = <cfqueryparam value="#form.staweekend#" cfsqltype="cf_sql_date" />
    AND stapersonnelid = personnelID
    <!---AND ltid = stalt--->
    AND CITY = 'richmond'
    AND STATUS <> 'd'
    AND STATUS <> 'T'
    AND type = 'personnel'
    Group by personnelid
    Order by teammember
    </cfquery>
    <cfmail>...
    <cfloop query="staffreport"><br />
    <table width="90%" border="0" cellspacing="2" cellpadding="4" align="left">
      <tr>
        <td colspan="2" align="center" valign="top" nowrap="nowrap" bgcolor="cccccc"><strong><font color="black"><cfif #staffreport.last# eq ".">#Ucase(Staffreport.teammember2)# <cfelse>#Ucase(Staffreport.teammember)#</cfif> - ID: <cfoutput>#Staffreport.noiid#</cfoutput></font></strong></td>
      </tr>
    <tr>
        <td align="left" valign="top" nowrap="nowrap" bgcolor="#000000">Name:</td>
        <td>#Staffreport.teammember#</td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Photo:</td>
        <td bgcolor="EBEBEB">
    <img src="#staffreport.hisphoto#" alt="Photo" width="98" height="98">
    </td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Email:</td>
        <td bgcolor="EBEBEB">#staffreport.email#</td>
      </tr>
    </table>
    </cfloop>
    </cfmail>

    You'll need to provide a full URL link to the image ("http://mywebserver/file/images_personnel/28.jpg"), not just a relative path.  Remember, the email client that is used to view the email content knows nothing of the internals of your web server - it can only follow a complete URL to get images and other resources.
    -Carl V.

  • Broken Links in iTunes - files have not been moved

    Hi,
    I'm running iTunes on my XP machine. I have about 10,000 tracks in my library. Every so often (well quite often nowadays) I get a load of tracks that have the exclamation mark next to them saying the file can't be found. I have not moved any of the tracks. When I double click ont he first offending track it asks if I want to locate it. I click OK, and it presents the folder where the file actually is (and always has been!) I then have to go through the rest of my library - each track with an exclamation mark just needs to be double clicked and it miraculously remembers where the file is!
    OK, so the questions are:
    1) Why is iTunes forgetting the locations of files that haven't moved? I'm guessing there might be some issue with the iTunes Music Library.xml - but I ahve no idea what.
    2) Can I stop it happening? Obviously the best solution is to dump windows and buy a mac - which will be happening in a month or so...
    3) If I can't stop it happening, is there a way for iTuens to just show me the broken links so that I can go through the double-clicking process easily?
    4) If I delete the library and recreate, will iTuens remember things like bespoke artwork, ratings, etc?
    Any help would be appreciated.
    Thanks,
    X.

    +"4) Absolutely not; the ITL file holds ratings, playcount, date added and other metadata that will be lost. And you can't get it back by rebuilding your library from the XML file."+
    Actually, this is exactly what you can do with the XML file. Prior to iTunes 5.0, importing the XML did not capture rating, playcounts, etc. even though the data was written to the XML file. Since then, you can recreate your Library completely by importing the XML file.
    A while ago I performed two tests:
    a) One where I deleted the total song references from the Library, then 'imported' the XML file (from a previously saved iteration)
    b) The other, I opened iTunes with no Library database to start, forcing it to act like a new install, then imported the XML file
    In both cases, the XML file was completely read, including Ratings, Play Counts and Last Played attributes. All playlists (both Smart & Static) were recreated in their proper folders. It seems to have recreated the Library almost as well as the ITL file would. Looks as if iTunes v6.0.1 (and later) now reads and uses the complete XML file upon 'import'.
    I say 'almost', as there were settings differences when starting from a 'virgin' iTunes. Also (and this is important), the create/load time when using the XML file was severely long. iTunes needed to read, interpret, and act on the information within the XML file and that took a long time. At that time, I had close to 12,000 song references and over two dozen playlists. Using a 'good' backup ITL file is an almost instantaneous fix.
    Bottom line: Either file will work in recreating the Library. A backup ITL file, in my opinion, is still the easiest and fastest way to recreate your Library if one has a choice. In some cases, where one cannot place the music into the correct path for the ITL file to work properly, one can globally change the XML file to reflect the new path and use that for a very close approximation. I would suggest making and archiving legacy copies of both files a big part of your backup strategy (along with the music files, of course).
    Hope this clears things up for you.
    Best of Luck

  • Restoring Broken Links doesn't work

    I have a project, unfortunately stored on a network drive,
    that recently crashed. I also have a copy of the project stored on
    my computer. The project on my computer has a number of topics
    listed in the Broken Links folder. Either I'm not understanding the
    process by which the topics are reconnected into the project, or
    something is not working.
    The references don't make sense, nor can I click & drag
    the BL topic back into the TOC, which would seem to be what would
    make sense.
    Any help would be appreciated. If I could click on a BL
    topic, and see it, then I could create a new topic, but that
    doesn't seem to be possible. Thanks in advance.
    VIc

    Hi Vic.
    First of all, you probably would not have hit this problem if
    you had worked on your project on a local drive and backed up to
    the network drive. RH uses an Access DB that is prone to problems
    when run on a network drive so the advice of most RH users is never
    do it.
    The broken topics list just lists instances where the RH
    project has lost track of where a topic is. For example a TOC page
    says it is in a location but the project can't find it. This can be
    caused by a number of factors (e.g. a file being moved, renamed or
    deleted outside of RH).
    If you have the topic linked to the broken TOC link still
    visible in the project, try right clicking on TOC page and
    selecting "Properties". This will show you where it is trying to
    link to. You can also point it to the correct location if it is
    wrong.

  • How do I rid my iTunes library of duplicates and broken links?

    How do I rid my iTunes library of duplicates and broken links?

    Well nevermind! It appears that if I just add my entire music library and run a Match update, it ends up making the associations and showing the tracks as being stored in my local music library.

  • Broken Links not fixed after being changed-HELP PLEASE!

    I am trying to fix a website I created for a friend. I created it in Dreamweaver CS6 on a Mac. Everything was working on the website, the pitures were showing up and now 2 of the pages arent working. On both pages the spry bar is not working and some of the pictures will not show up. I have went to find broken links and redirected it to the correct file but it is not changing anything. I am not sure how to fix this problem, if anyone has any advice that would be great!! The website is www.serenityatthebeach.com.

    That line read correctly when I looked at it on the broken page colorcutstyle. I copied the code from the page if that would help. I hope this helps.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Stlye Services</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    @import url("webfonts/Jenna_Sue/stylesheet.css");
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              background-color: #A9AB36;
              margin: 0;
              padding: 0;
              color: #000;
              background-image: url(background.jpg);
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
              padding-right: 15px;
              padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
              font-family: "Jenna Sue";
              font-size: 50pt;
              text-align: center;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color: #A9AB36;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #6E6C64;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: underline;
    /* ~~ this fixed width container surrounds the other divs ~~ */
    .container {
              width: 960px;
              background-color: #E5E3E4;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
              background-color: #ADB96E;
    /* ~~ This is the layout information. ~~
    1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    .content {
              padding: 10px 0;
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              background-color: #A9AB36;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    .container .content p {
              font-size: 30pt;
    .Headers {
              color: #A8A92B;
    -->
    </style>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    </head>
    <body>
    <div class="container">
      <div class="header"><!-- end .header -->
      <div align="right"><a href="http://www.aveda.com/index.tmpl"><img src="Header1.jpg" alt="Header" name="logo" width="961" height="423" id="logo" /></a></div>
      </div>
      <div class="content">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="index.html">Home</a>      </li>
          <li><a href="colorcutstyle.html">Hair Services </a></li>
          <li><a href="../spapage.html">Spa Services </a>      </li>
          <li><a href="nailpage.html">Nail Services </a></li>
          <li><a href="makeup.html">Make-Up </a></li>
          <li><a href="../aboutus.html">About Us </a></li>
        </ul>
        <h1 class="Headers">Hair Services</h1>
        <p><img src="color.gif" width="792" height="612" alt="hairservice" /></p>
        <h1 class="Headers"><img src="IMG_2397.JPG" alt="salon picture" width="933" height="282" /></h1>
        <p>&quot;+&quot;indicates variations in the price determined by the work involved and the level of talent </p>
        <p align="left">24 hours cancellation notice is required </p>
      </div>
      <div class="footer">
        <p><a href="https://www.facebook.com/SerenityAtTheBeachSalonSpa?fref=ts"><img src="facebook-logo.png" alt="facebook" width="244" height="195" /></a><a href="https://plus.google.com/110271807602578049704/about?gl-us&hl=en"><img src="googleplus.png" alt="google plus" width="194" height="194" /></a><!-- end .footer --></p>
      </div>
      <!-- end .container --></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

  • Files with broken links that only show in Smart Playlists

    Hello,
    My issue is a strange one, so please bear with me. First - I've had the same iTunes library for several version of iTunes. That might have something to do with my issue. The issue is that when I create a Smart Playlist filtering for genre=podcasts, there are numerous files listed there with broken links. If I flip over to the Podcast category under my Library, these files do not appear. I'd like to delete these broken links, but since they only appear in a Smart Playlist I can't delete them from there. My feeling is that the iTunes library database just has some left over records from previous files. Does anyone know how to edit the library or is there some 3rd party utility that can clean up these hidden records for me?
    Thanks in advance for any help!

    The issue is that when I create a Smart Playlist filtering for genre=podcasts, there are numerous files listed there with broken links. If I flip over to the Podcast category under my Library, these files do not appear.
    Podcasts are not put into the Podcast category by the Genre just as Audiobooks ar enot put into Audiobooks category by the Genre.
    It is info in the file and when it is downloaded that makes it a podcast or audiobook.
    Likely these podcasts are under Music.
    Hold Option and click on the arrow next to the item name. This should take you to the item in the library, wherever it is.
    Also, you can hold hold Option and press Delete. This will remove the item from the playlist and also delete it from the library.

  • Broken Link Report with Variables

    In my broken links report, I have many links that contain dynamic variables that will be realized at execution time and are not static links.
    I have included some code from our page(s) below.
    This process works extremely well for our web pages, but I would like to clear up the broken link report.
    Is there a way to keep the code as is and have them removed from the broken link report, or is there better way to do this?
    Example:  
    <cfoutput query = “getDBcontent”>
    <cfset FileName =“../projectweb/images/#getDBcontent.FileType#.gif”>
    <cfset FileTitleAlt = “The title of this document is: #getDBcontent.FileTitle#”>
    <img src=”#FileName#” alt=”#FileTitleAlt#”> #currentrow# <a href=”../projectweb/files/#getDBcontent.Table_FileName#”
                     target=“_blank”>#getDBcontent.Table_FileNameTitle#</a><br />
    </cfoutput>
    After Execution:
    <img src=”pdf.gif” alt=”The title of this document is: Search Lists for Dummies”> 1
    <a href=”../projectweb/files/Search_Lists_for_Dummies.pdf” target=“_blank”> Search Lists for Dummies </a><br />
    <img src=”pdf.gif” alt=”The title of this document is: Adobe Dreamweaver CS5 with PHP”> 2
    <a href=”../projectweb/files/Adobe_Dreamweaver_CS5_with_PHP.pdf” target=“_blank”>
    Adobe Dreamweaver CS5 with PHP </a><br />
    <img src=”doc.gif” alt=”The title of this document is: How to Build a House”> 3
    <a href=”../projectweb/files/How_to_Build_a_House.doc” target=“_blank”> How to Build a House </a><br />
    <img src=”docx.gif” alt=”The title of this document is: Adobe Dreamweaver CS5 Classroom in a Book”> 4
    <a href=”../projectweb/files/Adobe_Dreamweaver_CS5_Classroom_in_a_Book.docx” target=“_blank”>
    Adobe Dreamweaver CS5 Classroom in a Book </a>
    The broken link report shows the following:
    FILES                                                      Broken Links
    /Books.cfm                                         ../projectweb/files/#getDBcontent.Table_FileName#
    /Books.cfm                                         #top
    /Books.cfm                                         #bottom
    Thank you in advance...
    Roger

    Thanks for taking a look Murray. Here are some samples (The domain for our page is www.insurance.wa.gov)
    social/index.shtml
    http://www.facebook.com/WSOIC
    social/index.shtml
    http://twitter.com/WAinsuranceblog
    social/index.shtml
    http://access.wa.gov/washington/blogs.aspx
    social/index.shtml
    http://access.wa.gov/washington/facebook.aspx
    social/index.shtml
    http://access.wa.gov/washington/twitter.aspx
    Our page to the left, the broken link to the right of course.

  • Remove iPhoto Dead / Broken Links

    How do I remove thousands of dead/broken links from iPhoto?   I was maintaining my primary iPhoto library on a MacBook Air with and external drive.   I now use the external drive with a Macmini but the MacBook Air sees all the old links.   I can't simply delete the Macbook Air library because there are also thousands of locally stored files from before I started using the external drive and leaving them referenced.   Also, photos imported from the iPhones always went to the iPhoto LIbrary rather that the external drive so those only exist on the MacBook internal drive.
    -- Mark

    iPhoto does not support deleting broken links for a referenced library - that is one of several reasons that referenced libraries are strongly not recommended
    If you search the forums someone has posted a hack that several people have found will work
    Aperture can reconnect them
    iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  can rebuild your library without them
    LN

  • OracleWorld broken links - Tips,Tricks,Techniques

    I get a broken-link error when attempting to retrieve either of these files:
    OracleWorld 2003: Top 10 Most Popular Sessions
    4. Oracle Database: Tips, Tricks, and Techniques
    40118_sgeorge_Tips and tricks for DBA V2.ppt
    40118 - sgeorge Tips and tricks whitepaper 2003.doc

    Hi Ronald,
    Apologies for the delay in responding to you.
    The Documentation Feedback forum is for issues relating only to the OTN Documentation pages at:
    http://otn.oracle.com/documentation/index.html
    Perhaps you could try the Member Feedback forum instead at: Community Feedback (No Product Questions)
    Regards,
    Les

  • The broken link error

    Hi,
    Please help me with this broken link error in Office Excel 2010. Thank you.
    The problem is: a broken link cannot be removed from the file. The link was used in data validation, which refers to a list of values. After the path was corrected, it still shows there’s a broken link. Here are the details:
    I have 4 files named “000TVA_Test – 3”, “000TVA_Test – 4”, “000TVA_Test – 5”, and “000TVA_Test – 6”. The posterior files were developed based on the previous files.
    In Test-3, sheet “Template “, cell “L4”, “O4”, “R4”… were built as dropdown list using data validation. The list source is in the “Library” worksheet. There’s no problem so far.
    Test-4 was firstly copied from Test-3. In this file I renamed the worksheet from “Library” to “Setting” and the link was broken from here. I can also fix the broken link in this file. (While I didn’t realize there was a broken link.)
    In Test-5 I fixed the path, but every time when opening the file, the broken link still shows.
    In Test-6 I’ve removed the data validations. The broken link is still there.
    I tried to find solutions online. I tried common methods, cannot find anything in the files is still using links. I also tried the “findlink.xla” add-in, but it only worked for Test-4, and couldn’t find the link in other files.
    Please help. Thank you!
    I uploaded files here: https://onedrive.live.com/redir?resid=1A97736E0ABBAA41!113&authkey=!AF5wAd9rwUPnYyE&ithint=folder%2cxlsm
    Thanks again!

    Hi,
    Based on my tested the files downloaded, I found that Test-5 & Test-6 included the "A defined name that refers to an external workbook", Test-4 had not. (Please click Formula Tab>Name Manage, you'll see them.)
    However, the Break Links command cannot break the following types of links:   
    A defined name that refers to an external workbook
    A ListBox control with an input range that refers to an external workbook.
    A DropDown control with an input range that refers to an external workbook.
    http://support2.microsoft.com/kb/291984/en-us (It also applies to Excel 2010)
    Thus, we'd better try the workaround: re-build the Test-5 & Test 6.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Finding broken link in url

    Hi, 
    i would like to generate a report to identify broken links in a page or list pages under a website in CQ5 server. how can we generate this?
    pleas help me.
    Raja R

    http://dev.day.com/docs/en/cq/current/administering/external_link_checker.html

  • How to restore broken links after server migration in Indesign CS3???

    Hi All,
    I have used my google skills to no avail and everything I have read here has been a dead end for me. I can't be the only person in this situation, so hopefully someone can help!
    My marketing department has reached the storage limits of our shared network drive. Located on this drive is our (HUGE) image library which acts as a single central respository serving up our indesign links (read here: we don't package files - to conserve space). We have decided that in an effort to create a true archive and have more space for our image library we need to migrate the library to a new 16 terabit Drobo (yay!).
    The problem is that every INDD file that links to the current library will now suffer from broken links. We literally have hundreds of INDD files and thousands of links. The good news is...the file structure isn't changing at all! Just the server location is changing. Is there any way to to a batch update of the links that tells INDD to look for the exact same file path on a different drive?
    In short:
    current image library (old server): marketing/image library/photos/products/multiple product folders
    new image library (new server): drobo/image library/photos/products/multiple product folders
    I want to point InDesign to the new server and have it pick up the file path without having to navigate to each and every file individually. Voila!
    Is this even possible? Is there any 3rd party software to help? Other architechture solutions that might be suggested?
    Thanks so much for the help!
    Alex

    I wrote several scripts to solve this problem, here is one of them.
    // Change paths of links.jsx
    // Script for InDesign CS3 and CS4 -- changes the path of each link in the active document.
    // Version 1.0
    // May 13 2010
    // Written by Kasyan Servetsky
    // http://www.kasyan.ho.com.ua
    // e-mail: [email protected]
    var gScriptName = "Change paths of links";
    var gScriptVer = 1;
    var gOsIsMac = (File.fs == "Macintosh") ? true : false;
    var gSet = GetSettings();
    if (app.documents.length == 0) {
         ErrorExit("No open document. Please open a document and try again.", true);
    var gDoc = app.activeDocument;
    var gLinks = gDoc.links;
    var gCounter = 0;
    if (gLinks.length == 0) {
         ErrorExit("This document doesn't contain any links.", true);
    CreateDialog();
    //======================= FUNCTIONS =============================
    function CreateDialog() {
         var dialog = new Window("dialog", gScriptName);
         dialog.orientation = "column";
         dialog.alignChildren = "fill";
         var panel = dialog.add("panel", undefined, "Settings");
         panel.orientation = "column";
         panel.alignChildren = "right";
         var group1 = panel.add("group");
         group1.orientation = "row";
         var findWhatStTxt = group1.add("statictext", undefined, "Find what:");
         var findWhatEdTxt = group1.add("edittext", undefined, gSet.findWhatEdTxt);
         findWhatEdTxt.minimumSize.width = 300;
         var group2 = panel.add("group");
         group2.orientation = "row";
         var changeToStTxt = group2.add("statictext", undefined, "Change to:");
         var changeToEdTxt = group2.add("edittext", undefined, gSet.changeToEdTxt);
         changeToEdTxt.minimumSize.width = 300;
         var btnGroup = dialog.add("group");
         btnGroup.orientation = "row";
         btnGroup.alignment = "center";
         var okBtn = btnGroup.add("button", undefined, "Ok");
         var cancelBtn = btnGroup.add("button", undefined, "Cancel");
         var showDialog = dialog.show();
         if (showDialog== 1) {
              gSet.findWhatEdTxt = findWhatEdTxt.text;
              gSet.changeToEdTxt = changeToEdTxt.text;
              app.insertLabel("Kas_" + gScriptName + "_ver_" + gScriptVer, gSet.toSource());
              Main();
    function Main() {
         WriteToFile("\r--------------------- Script started -- " + GetDate() + " ---------------------\n");
         for (var i = gLinks.length-1; i >= 0 ; i--) {
              var currentLink = gLinks[i];
              var oldPath = currentLink.filePath;
              oldPath = oldPath.replace(/:|\\/g, "\/");
              oldPath = oldPath.toLowerCase();
              gSet.findWhatEdTxt = gSet.findWhatEdTxt.replace(/:|\\/g, "\/");
              gSet.changeToEdTxt = gSet.changeToEdTxt.replace(/:|\\/g, "\/");
              gSet.findWhatEdTxt = gSet.findWhatEdTxt.replace(/([A-Z])(\/\/)/i, "/$1/");
              gSet.changeToEdTxt = gSet.changeToEdTxt.replace(/([A-Z])(\/\/)/i, "/$1/");
              gSet.findWhatEdTxt = gSet.findWhatEdTxt.toLowerCase();
              gSet.changeToEdTxt = gSet.changeToEdTxt.toLowerCase();
              if (File.fs == "Windows") oldPath = oldPath.replace(/([A-Z])(\/\/)/i, "/$1/");
              var newPath = oldPath.replace(gSet.findWhatEdTxt, gSet.changeToEdTxt);
              if (File.fs == "Windows") {
                   newPath = newPath.replace(/([A-Z])(\/\/)/, "/$1/");
              else if (File.fs == "Macintosh") {
                   newPath = "/Volumes/" + newPath;
              var newFile = new File(newPath);
              if (newFile.exists) {
                   currentLink.relink(newFile);
                   gCounter++;
                   WriteToFile("Relinked \"" + newPath + "\"\n");
              else {
                   WriteToFile("Can't relink \"" + newPath + "\" because the file doesn't exist\n");
         WriteToFile("\r--------------------- Script finished -- " + GetDate() + " ---------------------\r\r");
         if (gCounter == 1) {
              alert("One file has been relinked.", "Finished");
         else if  (gCounter > 1) {
              alert(gCounter + " files have been relinked.", "Finished");
         else {
              alert("Nothing has been relinked.", "Finished");
    function GetSettings() {
         var settings = eval(app.extractLabel("Kas_" + gScriptName + "_ver_" + gScriptVer));
         if (settings == undefined) {
              if (gOsIsMac) {
                   settings = { findWhatEdTxt:"//ServerName/ShareName/FolderName", changeToEdTxt:"ShareName:FolderName" };
              else {
                   settings = { findWhatEdTxt:"ShareName:FolderName", changeToEdTxt:"//ServerName/ShareName/FolderName" };
         return settings;
    function ErrorExit(myMessage, myIcon) {
         alert(myMessage, gScriptName, myIcon);
         exit();
    function WriteToFile(myText) {
         var myFile = new File("~/Desktop/" + gScriptName + ".txt");
         if ( myFile.exists ) {
              myFile.open("e");
              myFile.seek(0, 2);
         else {
              myFile.open("w");
         myFile.write(myText);
         myFile.close();
    function GetDate() {
         var myDate = new Date();
         if ((myDate.getYear() - 100) < 10) {
              var myYear = "0" + new String((myDate.getYear() - 100));
         } else {
              var myYear = new String ((myDate.getYear() - 100));
         var myDateString = (myDate.getMonth() + 1) + "/" + myDate.getDate() + "/" + myYear + " " + myDate.getHours() + ":" + myDate.getMinutes() + ":" + myDate.getSeconds();
         return myDateString;
    You can specify a platform-specific path name, or a path in a  platform-independent format known as universal resource identifier (URI)  notation, or Mac OS 9 path name (for Mac).
    For example any of the following notations are valid:
    Windows
    c:\dir\file (Windows path name)
    /c/dir/file (URI path name)
    //10.44.54.70/Test/images (uniform naming convention (UNC) path name of the form //servername/sharename)
    //Apple/Test/images
    \\10.44.54.70\Test\images (Windows path name)
    \\Apple\Test\images (Windows path name)
    where 10.44.54.70 IP  address of the server, Apple -- DNS name of the server, Test -- share name
    Mac
    The following examples assume that the startup volume is MacOSX, and that there is a mounted volume Remote.
    /dir/file (Mac OS X path name)
    /MacOSX/dir/file (URI path name)
    MacOSX:dir:file (Mac OS 9 path name)
    /Remote/dir/file (URI path name)
    Remote:dir:file (Mac OS 9 path name)
    Remote/dir/file (Mac OS X path name)
    You can just copy a part of the path in Links panel and paste it to the script's dialog. In CS4, make sure to choose "Copy Platform Style Path" in context menu.
    The case of the characters doesn’t matter: you can type both in upper and lowercase in the script's dialog. For example  — Test, test, TEST, TeSt — are all the same for the script.
    Regards,
    Kasyan

Maybe you are looking for

  • Graphics Builder cant accept null column

    I am try to make graph which contain two columns on datatype is not null and other one is can be null but when I select Categories X axis its show my both columns but in values its not showing anything. I am using Graphics 6i my table EMP_ID NOT NULL

  • Mail.app crashes entire system (etc)

    Hi all, One of our photography workstations had an issue with the hard disk recently that meant Apple support took us through reinstalling OS X Snow Leopard.  We then restored the main user's profile due to the profile becoming unusable during the re

  • SAP Script form printing

    Hi Folks, I am designing a SAPScript form, and printing line items in the MAIN window.  Is it possible to print two line items on the same row of a MAIN window?  The number of single line item column is 50.  I want to print the form in portrait mode.

  • Sun Java System Application Server 9.1 and Apache

    Hi, I'm running Sun Java App Server 9.1, now I want to redirect the incoming traffic from an apache machine to the App Server. Which is the procedure? I did it before between Tomcat and Apache, I will appreciate your comments. Best regards, Gerardo

  • HT4623 i am unable to restart my iphone after reset

    sir how can i restart my iphone while i have reset my all setting on iphone and every thing has been errased