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:
[autorun]
open=Program.Exe

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:
[autorun]
open=webfile.html

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:
[autorun]
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.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Recent Comments

Cleveland Furia on How to Clear Google Activity
Sid Wohlfarth on How to Clear Google Activity
Riley Magsayo on How to Clear Google Activity
สมัครรับเครดิตฟรี ทันที on How to improve Remote Desktop Protocol Performance
Neal Wangstad on How to Clear Google Activity
Slavcho Andov on How to install Ubuntu
Slavcho Andov on How to fix bad sectors
Sheraz Ali on How to Backup Android