How can I make a CD auto-launch?

JuryDuty

Senior member
May 10, 2001
497
0
0
I have a web page of our baby and my family members would like to have it on CD, with all the home videos, pics, etc.

Is there a way for me to burn the web pages on a CD, but then make the CD auto-launch to the home page on the CD itself?

Any help/code is appreciated!
 

Drakkon

Diamond Member
Aug 14, 2001
8,401
1
0
make the site with all "relative" links ui.e. "../myPage.html"
then on the CD create an autorun.inf file with the lines:

[autorun]
open=myPage.html
 

AdamSnow

Diamond Member
Nov 21, 2002
5,736
0
76
Originally posted by: Drakkon
make the site with all "relative" links ui.e. "../myPage.html"
then on the CD create an autorun.inf file with the lines:

[autorun]
open=myPage.html

Drakkon is a smart man... that's exactly how you do it.
 

Cheetah8799

Diamond Member
Apr 12, 2001
4,508
0
76
I did this once to run a vbscript file on a cd. It didn't work as Drakkon described, likely because it is vbscript or something. We ended up using a little utility that a coworker dug up called "invoke.exe". I'm not sure where he got it, but maybe you can find it via google. If not, PM me and I'll email it to you.
 

JuryDuty

Senior member
May 10, 2001
497
0
0
Well, I tried what you guys suggested, but I kept getting application errors. I did a google searh and found many people have the same error when trying it this way. The key is to create TWO files as follows:

autorun.inf:
[autorun]
open=autorun.bat

autorun.bat:
@start MyPage.htm
@exit

Then it works like a charm!