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

Author Topic: Autorun advice, required please  (Read 2754 times)

0 Members and 1 Guest are viewing this topic.

High1

    Topic Starter


    Apprentice

    Thanked: 2
    Autorun advice, required please
    « on: September 26, 2008, 04:34:15 AM »
    Hello

    I have written a simple autorun.ini file for a CD:

    [autorun]
    shellexecute=index.html
    icon=forCD.ico

    The autorun works but it does not display the small graphic as it ought to in the My Computer window over the D (CD-ROM) drive. I

     have a JPG called forCD and it is in the same directory as the autorun.ini itself.

    Many thanks.

    Steve


    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: Autorun advice, required please
    « Reply #1 on: September 26, 2008, 05:12:27 AM »
    The image files has to be an Icon, not a Jpeg.

    High1

      Topic Starter


      Apprentice

      Thanked: 2
      Re: Autorun advice, required please
      « Reply #2 on: September 26, 2008, 07:14:01 AM »
      Hello Carbon

      Thanks for your message.

      OK, I have changed the name and file format to locklogo.ico and the script as follows:

      [autorun]
      shellexecute=index.html
      icon=locklogo.ico

      It's still not showing as an image over the drive. It looks as if the image is 'there', but missing (as on some Web sites, where images have been removed).

      Thanks again.

      Steve

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: Autorun advice, required please
      « Reply #3 on: September 26, 2008, 07:18:15 AM »
      Strange....

      Exactly how did you convert the file to an .ICO?

      Also, what is it's size? (dimensions of the icon)

      High1

        Topic Starter


        Apprentice

        Thanked: 2
        Re: Autorun advice, required please
        « Reply #4 on: September 26, 2008, 07:36:08 AM »
        It's 72 x 61px. I saved it in Photoshop.

        I had it as locklogo.jpg, but in Photoshop's 'Save As' I removed the .jpg and substituted .ico. Then I surrounded locklogo.ico by inverted commas so that I had: "locklogo.ico" and forced the programme to save in that format.

        When I look in the directory now, I see it saved as locklogo.ico.

        Steve

        Carbon Dudeoxide

        • Global Moderator

        • Mastermind
        • Thanked: 169
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Experience: Guru
        • OS: Mac OS
        Re: Autorun advice, required please
        « Reply #5 on: September 26, 2008, 07:47:01 AM »

        High1

          Topic Starter


          Apprentice

          Thanked: 2
          Re: Autorun advice, required please
          « Reply #6 on: September 26, 2008, 08:20:44 AM »
          Hello Carbon

          I used the link you posted - thanks - to convert the image, but I cannot see it still.

          This is the script I am using:

          [autorun]
          shellexecute=index.html
          icon=locklogo.ICO

          and you can see here what 'My Computer' looks like:

          http://www11.brinkster.com/stevehigham/buster.html

          Cheers for all your help so far.

          Steve


          Carbon Dudeoxide

          • Global Moderator

          • Mastermind
          • Thanked: 169
            • Yes
            • Yes
            • Yes
          • Certifications: List
          • Experience: Guru
          • OS: Mac OS
          Re: Autorun advice, required please
          « Reply #7 on: September 27, 2008, 12:59:25 AM »
          It should work.....Try restarting the computer yet?

          Can you attach the icon file to your next post.