|
The autorun.inf file must reside in the root of the CD/DVD.
A Typical autorun.inf file looks like this:
[autorun]
OPEN=index.html
ICON=myIcon.ico
LABEL=My Web Project
|
There are several tags which can appear in an autorun.inf file:
OPEN - The name of the file from the CD/DVD that Windows launches. For example:
OPEN=setup.exe
OPEN=setup.exe param1
OPEN=catalog.pdf
** Note: On older systems the autoplay functionality is limited to EXE files **
ICON - The file whose icon is used when viewing the CD/DVD under "My Computer". Examples:
ICON=setup.exe
ICON=icon.ico
LABEL - This label will appear for your CD/DVD when viewed under "My Computer"
SHELL Right-click menus - Create menus when you right-click on the drive icon. You specify both the text (use & for keyboard shortcuts) for the menu item and the command to perform when the item is chosen. Examples:
| shell\action1\command=setup.exe/ |
|  |
| SHELL\action1=Launch &Installer |
| SHELL\action2\command=readme.txt |
| SHELL\action2=View &ReadMe Text file |
| SHELL\action3\command=index.htm |
| SHELL\action3=View &Web Page |
|