General discussion

  • Creator
    Topic
  • #2316291

    Hyperlinking files onto a CD for burning

    Locked

    by where2man ·

    Hyperlinking files on CDrom

    I set up a page in word as a index and hyperlinked each heading to the source file and tested ok. I then set up a autorun program and linked each index page to be opened by a command button. I tested the autorun program and it would go and open up the index page and I then could click onto a heading and it would open up the word program and then open up the file. Exactly what I wanted to happen.

    The problem comes when I burn it all to a CD.

    What happens is when I place the CD into the CDrom the Autorun program will run and open up the program and I can then select the commmand button which will run and open up Word and open up the index page, but when I click onto the heading of the file I want it wont open the file as the hyperlink address is showing the address of the file on my hard drive not as the CD address.

    Can anyone let me know how I would change the hyperlink address so as it shows the command on the CD instead of my hard drive as when you hyperlink originally the address shows to where you have your file on the hard drive.

    Thanks
    the where2man

All Comments

  • Author
    Replies
    • #3380507

      Reply To: Hyperlinking files onto a CD for burning

      by thechas ·

      In reply to Hyperlinking files onto a CD for burning

      There is a problem with what you want to do.

      Not all CD drives in all computers have the same drive letter.

      You might be able to use a script to find the CD drive letter, and use it as a wild card character in the URL.

      I suggest that you instead try one of the CD menu utilities from either http://www.nonags.com
      or http://www.cdrom.com

      Chas

      • #3380161

        Reply To: Hyperlinking files onto a CD for burning

        by where2man ·

        In reply to Reply To: Hyperlinking files onto a CD for burning

        Although your answers might be right in some cases they were not
        in this case. I worked it out. The link from the Autorun program
        although it activated the link and started up Word and opened the
        Index page it was in fact the problem which was stoping the final
        opening of the links to the existing files. Everything worked ok
        when tested on the hard drive but when I burnt it, even though
        the hyperlinking worked from the Autorun program by opening
        word and then the index page it would not open up the final file.
        Answer. I went back into the Autorun program and changed the path
        by adding %CDROM%\ in front of the existing path. I didn’t know
        if this would work as I was changing the existing, working hyperlinks
        But to my surprise when I then burnt it to disk and ran it every
        thing work. All links worked even the final links to the files.
        These did not work before and I didn’t do anything to them.
        But ha! I’m not knocking it as I am now out of the shit. I thank
        both of your answers and want you to share the 50 points as at
        least you did try and you did take the time to help out someone
        Thanks
        The where2man

    • #3380497

      Reply To: Hyperlinking files onto a CD for burning

      by abarnes70 ·

      In reply to Hyperlinking files onto a CD for burning

      The problem lies in your Hyperlinks; they need to be told to look at the relative path instead of the absolute path.

      As an example, say all of your documents are saved in C:\CDData and it’s sub-directories. Your index document is C:\CDData\index.doc and the first document in the list is C:\CDData\WordFile\doc1.doc.

      Your links will look something like:

      {HYPERLINK “C:\\CDData\\WordFile\\doc1.doc”}

      They need to read:

      {HYPERLINK “WordFile\\doc1.doc”}

      You need to edit each hyperlink on the hard disk copy of your work, and browse for each document, but ensure that the C:\ etc is not at the beginning of the link, just the relative path.

      • #3380162

        Reply To: Hyperlinking files onto a CD for burning

        by where2man ·

        In reply to Reply To: Hyperlinking files onto a CD for burning

        Although your answers might be right in some cases they were not
        in this case. I worked it out. The link from the Autorun program
        although it activated the link and started up Word and opened the
        Index page it was in fact the problem which was stoping the final
        opening of the links to the existing files. Everything worked ok
        when tested on the hard drive but when I burnt it, even though
        the hyperlinking worked from the Autorun program by opening
        word and then the index page it would not open up the final file.
        Answer. I went back into the Autorun program and changed the path
        by adding %CDROM%\ in front of the existing path. I didn’t know
        if this would work as I was changing the existing, working hyperlinks
        But to my surprise when I then burnt it to disk and ran it every
        thing work. All links worked even the final links to the files.
        These did not work before and I didn’t do anything to them.
        But ha! I’m not knocking it as I am now out of the shit. I thank
        both of your answers and want you to share the 50 points as at
        least you did try and you did take the time to help out someone
        Thanks
        The where2man

    • #3380160

      Reply To: Hyperlinking files onto a CD for burning

      by where2man ·

      In reply to Hyperlinking files onto a CD for burning

      This question was closed by the author

Viewing 2 reply threads