![]() open=exefile ] Specifies the path, file name and optional parameters to the application that AutoRun launches when a user inserts a disc in the drive. label= text Specifies a text label representing the drive in Windows Explorer. This file must be in the same directory as the file specified by the open key. This icon replaces the standard drive icon in Windows Explorer. icon= iconfilename The name of a file resource containing an icon. ![]() On all other drive types the key is ignored. DRIVE_FIXED default text is created and used in the AutoPlay dialog. This makes the action key mandatory for drives of this type. Essentially, the AutoRun task is omitted. ![]() If the (action) key does not appear on drives of type: DRIVE_REMOVABLE the AutoPlay dialog appears but without additional menu items. This item is always first in the AutoPlay dialog and is always selected by default. The text is expressed as either text or as a resource reference. Keys allowed are: action= text filepath] filename,- resourceID Windows XP SP2 or later drives of type DRIVE_REMOVABLE and DRIVE_FIXED Specifies text used in the AutoPlay dialog to represent the program specified in the open or shellexecute keys. An autorun.inf file must contain this section to be valid. The autorun section contains the default AutoRun commands. There is a patch available, KB971029 for Windows XP and later, that will change AutoRun functionality to this behaviour. Thus only CD and DVD media types can specify an AutoRun task or affect double-click and right-click behaviour. Any other keys in this section will be ignored. ![]() Windows 7, Windows 8, Windows 8.1, Windows 10įor all drive types, except DRIVE_CDROM, the only keys available in the section are label and icon.All volumes are handled by AutoPlay which, by default, will present an appropriate dialog to the user. The AutoRun task is no longer automatically and silently executed on any drive type. Any specified AutoRun task needs to be paired with the mandatory action key to appear as an option within the AutoPlay dialog. Drives of type DRIVE_REMOVABLE now use autorun.inf but continue to be handled by AutoPlay. Any specified AutoRun task appears as an option within the AutoPlay dialog together with any text specified by the optional action key. XP Service Pack 2 and up (includes Vista)ĭrives of type DRIVE_FIXED are now handled by AutoPlay.Any discovered removable media are handled by AutoPlay. Drives of type DRIVE_REMOVABLE do not use the autorun.inf file. Drives of type DRIVE_CDROM invoke AutoPlay if no autorun.inf file is found. If an AutoRun task is specified it is executed immediately without user interaction. The 'AutoRun task' is the application specified by the open or shellexecute keys. On any drive type, the autorun.inf is read, parsed and instructions followed immediately and silently. Assuming Registry settings allow, the following autorun.inf handling takes place: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |