JLION.COM
JLION.COM - How to create an AutoRun CD that displays a web page
12/02/02 Utilities

Creating an AutoRun CD

A while back, the marketing department of the company where I work wanted to send out a catalog on CD-ROM. When they approached me, the content and design had already been completed. What they needed was for the catalog's table of contents to appear automatically when the CD was placed in the computer's drive.

An HTM file can not be specified directly in the AUTORUN.INF file, so I created a small VB application that starts up Internet Explorer and passes in the name of the web page to display.

To use the application, simply create a directory on your CD called "autorun" and place the autorun.exe and msvbvm60.dll files in that directory.

Then, create a text file with these three lines and place it in the root directory of your CD. Here, the web page that will be automatically displayed is called "contents.htm". Replace "contents.htm" below with the name of the web page that you would like to display.

		[autorun]
		open=autorun\autorun.exe \contents.htm
		icon=autorun\autorun.exe
		

You can now burn your CD and when it is first placed in a computer, your web page will display.

Download AutoRun.exe and associated files

More information about AutoRun files is available on the Microsoft MSDN website here.