Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Feature Forums
  3. - Uncategorised posts -
  4. burning CD with start file

burning CD with start file

Scheduled Pinned Locked Moved - Uncategorised posts -
htmlhelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wombaticus
    wrote on last edited by
    #1

    Hi not sure where to post this, or even if CP is the right place, but hope it's OK here... so I've burnt a CD with a single HTML file in the root folder called home.html When inserted in the drive (D: ) a popup windows appears with options to a) Install or run programs from your media    Run home.html b) Open folder to view files if I click b) I can then double-click home.html adn it will open fine in my default browser. But if I click on a's option to "Run home.html" i just get an error message saying "D:\ is not a valid WIn32 application" As this CD is one I want to diostribute to various people I can't ask them to make any changes to their computers - is there some other solution to the way I burn the CD - ie the files I burn to it - that can allow them to open the .htrml files whichever way they choose?

    J 1 Reply Last reply
    0
    • W Wombaticus

      Hi not sure where to post this, or even if CP is the right place, but hope it's OK here... so I've burnt a CD with a single HTML file in the root folder called home.html When inserted in the drive (D: ) a popup windows appears with options to a) Install or run programs from your media    Run home.html b) Open folder to view files if I click b) I can then double-click home.html adn it will open fine in my default browser. But if I click on a's option to "Run home.html" i just get an error message saying "D:\ is not a valid WIn32 application" As this CD is one I want to diostribute to various people I can't ask them to make any changes to their computers - is there some other solution to the way I burn the CD - ie the files I burn to it - that can allow them to open the .htrml files whichever way they choose?

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      You can do this using the ShelExec[^] utility.

      W 1 Reply Last reply
      0
      • J Jochen Arndt

        You can do this using the ShelExec[^] utility.

        W Offline
        W Offline
        Wombaticus
        wrote on last edited by
        #3

        Thanks - I did have my own autorun.inf file, but actually I think I had the wrong command in it! Just a simple

        [autorun]
        shellexecute=home.html

        seems ot do it.

        J 1 Reply Last reply
        0
        • W Wombaticus

          Thanks - I did have my own autorun.inf file, but actually I think I had the wrong command in it! Just a simple

          [autorun]
          shellexecute=home.html

          seems ot do it.

          J Offline
          J Offline
          Jochen Arndt
          wrote on last edited by
          #4

          This should work too. If not, autorun may be disabled on your system.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups