Fog Creek Software
Discussion Board

Knowledge Base
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?


Sunday, August 8, 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.

Ken McKinney
Sunday, August 8, 2004

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

David Burch
Sunday, August 8, 2004

Looks like Karen Ware has something:

Sunday, August 8, 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.

will probably help you out.
Monday, August 9, 2004

Oh, and that first link in Google tells you:

open=winopen \index.html

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


Try it and see... All you have to lose is a blank CD-R.
Monday, August 9, 2004 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:
open=winopen \index.html
and put that on the CD.

Then I published the site to the CD.

Thanks y'all.

Monday, August 9, 2004

Great! I'm glad.
Tuesday, August 10, 2004

*  Recent Topics

*  Fog Creek Home