How to make an html page open automatically on a CD/DVD

Sam picture Sam · Apr 9, 2009 · Viewed 57.5k times · Source

I need to include an html page (table of contents) on a CD/DVD. I'd like the html page to open automatically when the user puts the CD/DVD in their machine. Is there a way to do this (the MSDN cds do this) either by purchasing software or otherwise?

Answer

Adam Rosenfield picture Adam Rosenfield · Apr 9, 2009

You should be able to do with a relatively simple autorun.inf file in the CD/DVD's root directory:

[autorun]
shellexecute=path\to\htmlfile.html