Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

You can put a site on CD, can't you?

I want to offer a customer the option to put his site on CD so that he can hand them out as calling cards.  You can do that can't you?

Presuming I can, is there something you do to the CD to make the site start automatically when you insert the CD?

Thanks

tk
Sunday, August 08, 2004

Hey Terry,

The file that makes CD's auto start is called autorun.inf.  There's some information about it at the link below including how to autostart html files.

http://techrepublic.com.com/5100-6270_11-5268081.html

Ken McKinney
Sunday, August 08, 2004

Can't do using CityScript alone, but can with JavaScript and PHP.

David Burch
Sunday, August 08, 2004

Looks like Karen Ware has something:

http://www.karenware.com/powertools/ptautorun.asp

tk
Sunday, August 08, 2004

Sure, browsing a website on a CD is the same as browsing it on your hard drive (think preview location).

It's just a matter of including a browser on the CD, or causing the default browser to launch when the disk is put in, which will need an autorun.inf file.

http://www.google.com/search?q=autorun.inf+html

will probably help you out.

www.MarkTAW.com
Monday, August 09, 2004

Oh, and that first link in Google tells you:

[autorun]
open=winopen \index.html

should work, as long as index.html is in the root of the CD.

* http://www.duckware.com/winopen/

Try it and see... All you have to lose is a blank CD-R.

www.MarkTAW.com
Monday, August 09, 2004

http://www.duckware.com/winopen/ had the right stuff. It works.

I downloaded "winopen.exe" from that site and put that on the CD.

I make a text file "autorun.inf" file containing two lines:
[autorun]
open=winopen \index.html
and put that on the CD.

Then I published the site to the CD.

Thanks y'all.

tk
Monday, August 09, 2004

Great! I'm glad.

www.MarkTAW.com
Tuesday, August 10, 2004

*  Recent Topics

*  Fog Creek Home