Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Using paths on a CD  (Read 2438 times)

0 Members and 1 Guest are viewing this topic.

High1

    Topic Starter


    Apprentice

    Thanked: 2
    Using paths on a CD
    « on: September 12, 2008, 03:12:22 AM »
    Hello

    I am trying to copy some files (HTML pages and exe programmes) I have on my desktop onto a CD. They are only on my desktop, not on a server.

    When I click on a link, let's say, 'Download IE7' on one of the Web pages, I get a pop-up asking if I want to run or save IE7.

    The path to IE7.exe on my desktop is this:

    <p><a href="C:\Documents and Settings\my_user_ID\Desktop\Folder1\IE7.exe">Download Internet Explorer 7[/url]</p>

    I nee to change this path when I burn the programmes and HTML pages to a CD, but what to? I clearly need to remove the C:\Documents and Settings\my_user_ID, etc, but I can't seem to get it to work.

    Thanks for any help.

    Steve

    pcwizard



      Hopeful

    • A computer is for life, not just gaming!!
    • Thanked: 2
      Re: Using paths on a CD
      « Reply #1 on: September 12, 2008, 05:00:17 AM »
      I'm not sure I undertstand fully what you are trying to do. Do you mean download from the internet and burn directly onto CD?
      A computer is for life....not just gaming!!

      High1

        Topic Starter


        Apprentice

        Thanked: 2
        Re: Using paths on a CD
        « Reply #2 on: September 12, 2008, 05:47:08 AM »
        Hello PCWizard

        Thanks for your message.

        I just wanted to know which path I should use on the CD to open my IE Explorer 7 exe? I have to change it from the C path mentioned above as this references my own desktop.

        Thanks.

        Steve

        patio

        • Moderator


        • Genius
        • Maud' Dib
        • Thanked: 1769
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: Using paths on a CD
        « Reply #3 on: September 12, 2008, 10:36:28 AM »
        What is it you are trying to do here ? ?
        Web pages can be saved just like any other file...but i'm still unclear on what you want to accomplish.
        " Anyone who goes to a psychiatrist should have his head examined. "

        Calum

        • Moderator


        • Egghead

          Thanked: 238
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Other
        Re: Using paths on a CD
        « Reply #4 on: September 12, 2008, 10:38:14 AM »
        Use relative paths.
        So if you have a web page, and in the same directory a file, use the path "file.exe" rather than "C:\Documents..."etc.
        Hope this helps.

        High1

          Topic Starter


          Apprentice

          Thanked: 2
          Re: Using paths on a CD
          « Reply #5 on: September 12, 2008, 10:57:38 AM »
          Hello callum

          Thnaks for your post.

          I thought that myself, but if I use the path you have suggested while still working on the files on my desktop (that is, if I remove the long absolute path and substitute simply <a href="ie7.exe">Download IE7 here[/url] it does not work - on my desktop.

          That's not too important because using the long path will make it work on my desktop. But do you think the short, relative path will wotk on the CD? I'm just trying to avoid wasting tens of blank CDs before I get it right! ;D

          Cheers

          Steve

          kpac

          • Web moderator


          • Hacker

          • kpac®
          • Thanked: 184
            • Yes
            • Yes
            • Yes
          • Certifications: List
          • Computer: Specs
          • Experience: Expert
          • OS: Windows 7
          Re: Using paths on a CD
          « Reply #6 on: September 12, 2008, 11:00:08 AM »
          Use relative paths.
          So if you have a web page, and in the same directory a file, use the path "file.exe" rather than "C:\Documents..."etc.
          Hope this helps.

          Use this if the HTML file is in the same location as the download.

          Calum

          • Moderator


          • Egghead

            Thanked: 238
            • Yes
            • Yes
          • Certifications: List
          • Computer: Specs
          • Experience: Beginner
          • OS: Other
          Re: Using paths on a CD
          « Reply #7 on: September 12, 2008, 11:00:25 AM »
          Are ie7.exe and the web page both on the desktop?
          You might try a \ or / before ie7.exe to see if it helps.

          High1

            Topic Starter


            Apprentice

            Thanked: 2
            Re: Using paths on a CD
            « Reply #8 on: September 12, 2008, 11:04:52 AM »
            If the HTML page and the IE7 exe file are in the same folder on the desktop, using only this:

            <a href="ie7.exe">Download IE7 here[/url]

            should open the IE7 exe file. It doesn't - it seems to requite the long path. But would the sample script above work on a CD? That's what I mean.

            Cheers

            Steve

            kpac

            • Web moderator


            • Hacker

            • kpac®
            • Thanked: 184
              • Yes
              • Yes
              • Yes
            • Certifications: List
            • Computer: Specs
            • Experience: Expert
            • OS: Windows 7
            Re: Using paths on a CD
            « Reply #9 on: September 12, 2008, 11:08:23 AM »
            Try using this in the link:

            Code: [Select]
            file:///ie7.exe