This section describes what is .inf file name extension and AUTORUN.INF file.
.inf is the file name extension for the autorun file, AUTORUN.INF, on CD or DVD discs.
AUTORUN.INF provides instructions to the Autorun function, telling the operating
system which executable to start, which icon to use, and which additional menu commands
to make available.
AUTORUN.INF files are text files. You can open them and read them with a text editor.
Here is an example of a simple AUTORUN.INF file from a movie DVD disc:
[autorun]
open = dvd-rom.exe
Here is another sample of AUTORUN.INF:
[autorun]
open=foo.exe bar
;ShellExecute=index.html
icon=foobar.ico
shell\configure=&Configure...
shell\configure\command=setup.exe
shell\install=&Install...
shell\install\command=setup.exe
Shell\Option1=Text1
Shell\Option1\Command=option1.exe
Shell\Option2=Text2
Shell\Option2\Command=option2.bat
label=My backup data
See other chapters for more information on AUTORUN.INF file,
see http://msdn2.microsoft.com/en-us/library/bb776823.aspx.