
Its primary function is to provide the system with the name and location of the application's startup program that will be run when the disc is inserted.

The startup application typically installs, uninstalls, configures, and perhaps runs the application.Īutorun.inf is a text file located in the root directory of the CD-ROM that contains your application.

This file specifies a setup application that will be run, along with a variety of optional settings. If it does, the system searches for a file named Autorun.inf. When a user inserts a disc into a CD-ROM drive on a AutoRun-compatible computer, the system immediately checks to see if the disc has a personal computer file system. To enable AutoRun in your application, you simply include two essential files:

This topic uses CD-ROM as an example (it was the first medium to implement this technology) but today there are many different media types that can use it. Creating an AutoRun-enabled application is a straightforward procedure.
