Autorun.inf - Commands



Below are some of the commands/entries in the Autorun.inf file described briefly. A more detailed description can be found at the following Microsoft page: Autorun.inf Entries
 
OPEN =

The OPEN command specifies the path and file name of the application that AutoRun launches when a user inserts a disc in the drive. You can also specify parameters/arguments to the application.
 
ICON =

The ICON command specifies an icon which represents the AutoRun-enabled drive in the Windows user interface. The icon is normally an .ico file, but can also be a .bmp, .exe or .dll file containing icon information. The icon file must be located in the same directory as the file specified by the OPEN command.
 
LABEL =

The LABEL command specifies a text label which represents the AutoRun-enabled drive in the Windows user interface. This text label is for example shown to the right or below the drive icon in Windows Explorer. The text label should be no longer than 32 characters. If the text label contains more than 32 characters, all characters after the 32nd will be truncated and not displayed.
 
SHELLEXECUTE =

The SHELLEXECUTE command opens a document or starts an application. Mostly used to open documents automatically. If this command is used with a document, an associated program that can open the document will be automatically run. This command requires Windows ME/2000 or newer.
 
SHELL =

The SHELL command specifies a default command for the drive's shortcut menu. The shortcut menu of the drive is the menu that is opened when the user right clicks on the drive icon.
 
SHELL\VERB =

The SHELL\VERB command adds a custom command to the drive's shortcut menu. This custom command can for example be used to launch an application on the CD/DVD.
 
ACTION =

ACTION is a command that was introduced with Windows XP SP2. It is not supported in Windows before that. This command specifies a text that should be shown as the first option in the Windows Autoplay dialog, together with the icon specified by the ICON. This option is always selected by default and if the user accepts the option, the application specified by the OPEN or SHELLEXECUTE entry in the media's Autorun.inf file is launched. As an alternative, the SHELLEXECUTE command can also specify a document instead of an application.


< Go back  (to the article: 'The Autorun.inf file (in Windows), What is it?')

 
Create AutoRun Menu
 

Do you need an autorun menu for a CD or DVD?
 

>
Read More Here
    
SamLogic