December 20, 2010

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 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 in Windows Explorer showed to the right or below the drive icon.
 
SHELLEXECUTE =

The SHELLEXECUTE command opens a document or starts an application. Mostly used to open documents automatically. Requires Windows ME/2000 or newer.
 
SHELL =

The SHELL command specifies a default command viagra effects on women 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.

Permalink • Print • Comment

Leave a comment

You must be logged in to post a comment.

Made with WordPress and the Semiologic theme and CMS • Sky Gold skin by Denis de Bernardy