Here's what I've come up with (lately):
The first "label" sets the VISUAL (not volume) identifier; purely for your eyeballs! Kinda cute...
The "open" says what to do if you DOUBLE CLICK the disk icon from "my computer".
The "action" is what to do (when double clicked).
"Icon" is simply the icon to display next to the drive (in "my computer"). It can be something like ".exe[,x]" where ",x" is (optional) the (embedded) icon (in the program) in the program or an actual (as in my case) ".ico" file (yes, I stole one off the web).
Lastly, the "useautoplay" forces the system (WinXP or later) to actually list the default action to perform (or to run it, depending on your autorun settings).
NOTE: these settings are for WinXP or later, not for Win2K3 or earlier.
The remaining items are paired "shell" options. They cause the first item to be listed, the second item to execute (when you click on it). When you open "my computer" and you see your flash (or other removealbe drive) and you RIGHT CLICK on it, you will see these items listed as actions to perform.
NOTE: the action "shell" commands do NOT list the drive or path specifier! All references are from the (assumes/default) root of the device itself!
So, for my flash drive, I have the option to run Rainlendar (default choice) or to right click the drive itself and select to install various things or to take various actions (like shutdown, display uptime).
I hope this helps! I spent a couple of days researching this. The autorun.inf file is not very complicated. It was origianlly intended for CD, not flash drives. But WinXP (or later) can be made to do things for you, too.
Dave
[autorun]
label=my xxx Drive
open=rainlendar2\rainlendar2.exe
action=Run Rainlendar 2
icon=lilguy.ico
useautoplay=1
shell\Rainlendar=run Rainlendar 2
shell\Rainlendar\command=rainlendar2\rainlendar2.exe
shell\insGTK=Install GTK for GIMP
shell\insGTK\command=downloads\graphics editors\gtk+-2.10.13-setup.exe
shell\insGIMP=Install GIMP
shell\insGIMP\command=downloads\graphics editors\gimp-2.2.17-i586-setup.exe
shell\insTVNC=Install Tight VNC
shell\insTVNC\command=downloads\tightvnc-1.3.9-setup.exe
shell\insUVNC=Install Ultra VNC
shell\insUVNC\command=downloads\UltraVNC-102-Setup.exe
shell\xpsp3=Install XP SP3
shell\xpsp3\command=downloads\Windows\XP\windowsxp-kb936929-sp3-x86-enu_c81472f7eeea2eca421e116cd4c03e2300ebfde4.exe
shell\timeup=show uptime for this PC
shell\timeup\command=VT\NT-uptime.bat
shell\turnoff\=shut-down this PC
shell\turnoff\command=VT\shutoff.bat
shell\rebooter=re-boot this PC
shell\rebooter\command=VT\reboot.bat
shell\powerUI=setup Tweak UI for XP
shell\powerUI\command=downloads\Windows\XP\power toys\TweakUiPowertoySetup.exe
shell\powerCALC=setup Power Calculator for XP
shell\powerCALC\command=downloads\Windows\XP\power toys\PowerCalcPowertoySetup.exe