If you want to show certain content of your CD or DVD as soon as it is inserted into the disk drive, all you have to do is to burn your CD or DVD with a small Autorun file, along with your content. Autorun file is a text file that tells the operating system which file to execute first. The Autorun file is created in notepad.
Creating Autorun file:
To create an Autorun file is a very easy process. Let’s say you want the operating system to execute abc.exe file on inserting the disk in the disk drive. Follow below steps to create an Autorun file:
- Go to Start > Programs > Accessories > Notepad.
- Type following commands
[autorun]
Open=abc.exe
- Save the file with the name of “Autorun.inf”
- Burn autorun.inf file along with the contents of the CD.
Make sure you don’t forget to burn Autorun.inf along the contents.
Besides mentioning the name of the file you can also add other details to the same notepad file such as icon etc. Below video will help you create an Autorun file.















