On versions of Windows earlier than XP, this key has no effect and actions specified by open or shellexecute are performed. First, consider an Autorun.inf file with the following contents, noting that UseAutoPlay=1 is not specified: Copy [AutoRun] shellexecute="Readme.txt" The action taken by the Shell when this CD is inserted depends on Latest update on October 15, 2014 at 11:53 AM by Jeff. The following are all valid paths Copy [IgnoreContentPaths] \music \music\more music music2 The [IgnoreContentPaths] section is only supported under Windows Vista and later. [DeviceInstall] Keys DriverPath The DriverPath entry specifies a directory
If you want to open one or several documents, web pages etc. Then click on Scan. paramxContains any additional parameters that should be passed to ShellExecuteEx. If it is omitted, verb is displayed.
You can also include one or more command-line parameters to pass to the startup application. In Windows NT4, 2000 and XP this value is displayed as 0x00000095 or hexadecimal 95. Remarks The action key is only used in Windows XP Service Pack 2 (SP2) or later. Knowledge Base.
AutoRun enabled application CD-ROMs to automatically launch a program which could then guide the user through the installation process. Example: [ExclusiveContentPaths] \pictures \music more music\special [IgnoreContentPaths] Windows Vista or later AutoPlay's content search system will not scan the folders listed, nor their subfolders. Thus only CD and DVD media types can specify an AutoRun task or affect double-click and right-click behaviour. There is a patch available, KB971029 for Windows XP and later, that will Then use shell to make it the default shortcut menu command.
The action taken on CD-ROM insertion will depend on the version of Windows being used. You use DriverPath to specify a directory path where Windows XP searches for driver files, which prevents a lengthy search through the entire contents. Windows XP, prior to Service Pack 2 Introduction of AutoPlay. The method for removing autorun virus above is useful for some types of simple autorun viruses.
When UseAutoPlay is used, any action specified by the open or shellexecute entries in Autorun.inf is ignored on Windows XP and omitted from the AutoPlay dialog on Windows Vista. Copy [DeviceInstall] DriverPath=drivers\video DriverPath=drivers\audio If no DriverPath entry is provided in the [DeviceInstall] section or the DriverPath entry has no value, then that drive is skipped during a search for driver The following example specifies the second icon in the MyProg.exe file. Yükleniyor...
Oturum aç 14 Yükleniyor... icon=iconfilename[,index] The name of a file resource containing an icon. Yükleniyor... Remarks The icon, together with the label, represents the AutoRun-enabled drive in the Windows user interface.
An autorun.inf file must contain this section to be valid. The [DeviceInstall] section is only supported under Windows XP. verb is a string with no embedded spaces. There are the following commands available: icon=my.ico icon=setup.exe,1 Icon command specifies an icon for the CD drive in My Computer.
shell\verb\command=[exepath\]exefile [param1 [param2 ...]] Adds a custom command to the drive's shortcut menu. Note that if the application name includes spaces the path should be enclosed in double quote, e.g. These instructions are also required if your CD might be viewed by non-Windows users. Filename.exeThe path and file name of the application that performs the action.
Select Edit|Find and type in NoDriveTypeAutoRun. Remarks When a user right-clicks the drive icon, a shortcut menu appears. It must have the extension ".ico".
This command also executes when the user double-clicks the drive's icon. Example: shell\readme\command=notepad readme.txt shell\readme=Read &Me shell=readme [Content] Windows Vista or later The Content section allows authors to communicate the type and intent of content to AutoPlay without AutoPlay having to examine Autorun.inf drawbacks Major Autorun.inf drawback is that it only allows you to run programs, but not documents, HTML pages etc. Depending on the version of Windows in use and options specified in Autorun.inf, the CD may be handled by either AutoRun or AutoPlay when it is inserted (assuming AutoRun/AutoPlay is enabled
The user is presented with an AutoPlay dialog containing registered handlers for the "Music files" AutoPlay media type; the AutoRun shellexecute entry is ignored. This entry has no effect on versions of Windows earlier than Windows XP. CustomEvent The CustomEvent entry specifies a custom AutoPlay content event. Uygunsuz içeriği bildirmek için oturum açın.
Otherwise, the default menu item text will be "AutoPlay", which launches the application specified by the open entry. Copy shell=verb Parameters verbThe verb that corresponds to the menu command. Virus samples from users all over the world are collected and analyzed to improve our product constantly, to make sure that it can detect and get rid of all kind of Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).
However these are long outdated and not described here. [autorun] The autorun section contains the default AutoRun commands. It associates a string, called a verb, with the application to launch when the command runs. Yes No Additional feedback? 1500 characters remaining Submit Skip this Thank you! Example: [ExclusiveContentPaths] \pictures \music more music\special [IgnoreContentPaths] Windows Vista or later AutoPlay's content search system will not scan the folders listed, nor their subfolders.
For more information about the difference between AutoRun and AutoPlay, see Creating an AutoRun-enabled CD-ROM Application and Using and Configuring AutoPlay, respectively. All volumes are handled by AutoPlay which, by default, will present an appropriate dialog to the user.