autorun.inf is an ASCII text file located in the root folder of a CD-ROM or other removable media. The structure is that of a classic Windows .ini file, containing information and commands as "key=value" pairs, grouped into sections. These keys specify:
The name and the location of a program to call when the media is inserted.
The name of a file that contains an icon that represents the media in Explorer (instead of the standard drive icon).
Commands for the menu that appears when the user right-clicks the drive icon.
The default command that runs when the user double-clicks the drive icon.
Settings that alter AutoPlay detection routines or search parameters
Settings that indicate the presence of drivers.
On Windows XP versions previous to Service Pack 2, drives of type DRIVE_REMOVABLE do not have any autorun.inf support.
Bookmarks