See below for an example. shell=verb Defines the menu command referred to by shell\verb as the default command in the shortcut menu. The default command is the command executed when the drive icon is double-clicked. If missing, the default menu item will be "AutoPlay", which launches the application specified by the open entry. Example: shell\readme\command=notepad readme.txt shell\readme=Read & Me shell=readme The Content section allows authors to communicate the type and intent of content to AutoPlay without AutoPlay having to examine the media. Valid keys are: MusicFiles, PictureFiles, VideoFiles. Each key can be set to indicate true or false values and values are not case sensitive. true or (1, y, yes, t) display the handlers associated with that content type false or (0, n, no, f) do not display the handlers associated with that content type Example: [Content] MusicFiles=Y PictureFiles=0 VideoFiles=false Limits AutoPlay's content search to only those folders listed, and their subfolders. The folder names are always taken as absolute paths (a path from the root directory of the media) whether or not a leading slash is used. Example: [ExclusiveContentPaths] \pictures \music more music\special AutoPlay's content search system will not scan the folders listed, nor their subfolders. IgnoreContentPaths takes precedence over ExclusiveContentPaths so if a path given in a [IgnoreContentPaths] section is a subfolder of a path given in an [ExclusiveContentPaths] section it is still ignored. Example: [IgnoreContentPaths] pictures \music more music\special Only Windows XP This section is used to indicate where driver files may be located. This prevents a lengthy search through the entire contents of a CD-ROM. Windows XP will fully search: floppy disks in drives A or B CD/DVD media less than 1 GB in size. without this section present. All other media should include this section to have Windows XP autodetect any drivers stored on that media. The section is not used with AutoRun or AutoPlay and is only referred to during a driver installation phase. The only valid key is: DriverPath=directorypath which lists a path Windows will search for driver files. All subdirectories of that path are also searched. Multiple key entries are allowed. If no DriverPath entry is provided in the section or the DriverPath entry has no value, then that drive is skipped during a search for driver files. Example: [DeviceInstall] DriverPath=drivers\video DriverPath=drivers\audio [autorun] open=setup.exe icon=setup.exe,0 label=My install CD References External links https://web.archive.org/web/20121220071928/http://dailycupoftech.com/usb-drive-autoruninf-tweaking/ https://stackoverflow.com/questions/1232966/auto-run-appilication-while-plug-in-usb-drive http://www.samlogic.net/articles/autorun.htm http://www.makeuseof.com/tag/autolaunch-apps-usb-stick-windows/ http://www.autoitscript.com/site/autoit/ https://web.archive.org/web/20120505010938/http://go4answers.webhost4life.com/Example/launch-net-application-usb-drive-41597.aspx Configuration files Windows administration ca:Autorun