Sunday, May 26, 2024
HomeWindowsAutorun / Autoplay an HTML file When a CD in Inserted

Autorun / Autoplay an HTML file When a CD in Inserted

Thousands of shareware programs exist for autoplaying an HTML when a CD is entered. This Tech Recipes tutorial highlights the freeware that does the same.

Having your CD autorun is simple. Just create a file called autorun.inf and place it on your CD. Using Notepad, you can create this file containing the following information:

This example will autorun Program.Exe if it exists on your CD-ROM.

This method, however, will only execute *.exe files. Therefore, running an HTML file is more complicated and this does not work:

Previously, copying start.exe to the CD-ROM and using it to launch the HTML file worked well. However, this no longer works in later versions of Windows such as 2000 and XP. In order to cash in on this problem, multiple software designers have created programs that replicate the action of start.exe.

Avvia does this little process for free. Download and place avvia.exe on your CD-ROM and create your autorun.inf file in the following format:
open=avvia.exe webfile.html

Avvia rocks. Go freeware!

Other nag or ad-filled similar programs such as shellrun exist as well.

David Kirk
David Kirk
David Kirk is one of the original founders of tech-recipes and is currently serving as editor-in-chief. Not only has he been crafting tutorials for over ten years, but in his other life he also enjoys taking care of critically ill patients as an ICU physician.


Please enter your comment!
Please enter your name here

Most Popular


Recent Comments

error: Content is protected !!