Monday, October 03, 2005

Create an Autorun CD

Most commercial applications CDs that you buy will automatically start when you put it into the CD/DVD drive and close the door. This feature is called 'Autorun', it allows an application to be executed when the CD is first read.

If you want to add this feature to your custom CDs or DVDs, all you have to do is create a simple three line text file with Notepad. Then when you're done, save the as AUTORUN.INF in the root of the CD/DVD's directory.


Where is says OPEN=, put the name of the program or web page that you want launched when the CD is put into the drive. Where is says ICON=, put the name of the icon file that you want to use for the CD when its displayed in the Windows Explorer. For more information on this subject see the results from the following Google search.

  • Make sure not to include any drive letters when calling these files. All the calls to a file have to be relative to the files on the media.
  • If you're calling a non-executable files, such as an HTML web page. Put the command START.EXE in front the web page's name (i.e.: "open=start.exe example.html")

No comments: