Home > General > Autorun.inf


open=[exepath\]exefile [param1 [param2 ...]] Specifies the path, file name and optional parameters to the application that AutoRun launches when a user inserts a disc in the drive. MSDN Library. The structure is that of a classic Windows .ini file, containing information and commands as "key=value" pairs, grouped into sections.[1] These keys specify: The name and the location of a program To remove substitution later please use the following command: subst O: /d Also, when you are using our utility 1st AutoRun Express to create autorun cd, then you may test how his comment is here

Contents 1 The autorun.inf file 1.1 Abuse 1.2 Inf handling 1.3 A simple example 2 Sections 2.1 [autorun] 2.2 [Content] 2.3 [ExclusiveContentPaths] 2.4 [IgnoreContentPaths] 2.5 [DeviceInstall] 3 References 4 External links The simplest autorun.inf files have just two settings: one specifying an icon to represent the CD in Windows Explorer (or "My Computer") and one specifying which application to run. The name of a file that contains an icon that represents the medium in Explorer (instead of the standard drive icon). 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. https://en.wikipedia.org/wiki/Autorun.inf

shell Defines the default command in the CD-ROM's shortcut menu. This icon replaces the standard drive icon in Windows Explorer. For instance, a CD can be categorized as containing only music content even though it also has pictures and videos and would otherwise be seen as having mixed content.

When installation begins, follow the prompts and don't change the default settings. If the text label contains more than 32 characters, all characters after the 32nd will be truncated and not displayed. The default command that runs when the user double-clicks the drive icon. Note  As with the [AutoRun] section, the [DeviceInstall] section can be architecture-specific.   Related topics How to Implement Autorun Startup Applications Writing a Device Installation Application     Show: Inherited Protected Print

Remarks When a user right-clicks the drive icon, a shortcut menu appears. The following are the only removable media that Windows XP fully searches without a [DeviceInstall] section in an Autorun.inf file. Then click Start|Run and enter: subst O: "C:\My CD" Where O: is an unused drive name. https://msdn.microsoft.com/en-us/library/windows/desktop/cc144200(v=vs.85).aspx Note that not all Windows computers will recognise the data on an Enhanced CD, although the audio is always seen. (Windows Me, 2000 and XP usually seem to recognise Enhanced CD

They consist of one or more sections, each headed by a name enclosed in square brackets. However, before we can use it we need to verify if it is enabled on our system. By placing settings in an autorun.inf file, manufacturers could decide what actions were taken when their CD-ROM was inserted. Search Sign Up Log In Home Forum How To Download News Encyclopedia High-Tech Health Sign Up Language English Español Deutsch Français Italiano Português Nederlands Polski हिंदी Bahasa Indonesia Log In Subscribe

Copy UseAutoPlay=1 Remarks Currently, UseAutoPlay is applicable only on Windows XP or later and only on a drive that GetDriveType determines to be of type DRIVE_CDROM. http://www.instructables.com/id/How-to-make-an-Autoruninf-File/ On Windows 8 and later, specifying a value of 0 will disable autoplay for this device. See below for an example. For information on how you can register an application as a handler for your custom AutoPlay content event, see Auto-launching with AutoPlay or How to Register an Event Handler.

It is not supported in Windows before that. It also tells you how to customize the icon text and icon menu. ShellExecuteEx launches the default command associated with the file type. Latest update on October 15, 2014 at 11:53 AM by Jeff.

The file name can therefore be an executable or a data file. Multiple key entries are allowed. Make sure you're connected to Internet and download Malwarebytes' Anti-Malware. An optional [autorun.alpha] section can be included for systems running on RISC-based computers.

There are two sections that are currently defined for Autorun.inf files. Assuming Registry settings allow, the following autorun.inf handling takes place: Windows versions prior to Windows XP On any drive type, the autorun.inf is read, parsed and instructions followed immediately and silently.[8] Learn more You're viewing YouTube in German.

Adding shell\verb entries to the drive's Autorun.inf file allows you to add commands to this shortcut menu.

The next screen should prompt you to select the drives to scan. The following sample Autorun.inf fragment associates the readit verb with the command string "Notepad abc\readme.txt". It is required. Any specified AutoRun task appears as an option within the AutoPlay dialog together with any text specified by the optional action key.[9] Drives of type DRIVE_REMOVABLE now use autorun.inf but continue

You can set a shortcut key for the menu item by putting an ampersand (&) in front of the letter. Du kannst diese Einstellung unten ändern. However, the system only displays the first 32 characters. If the user accepts the option, the application specified by the open or shellexecute entry in the media's Autorun.inf file is launched.

All other handling is as before. This topic uses CD-ROM as an example (it was the first medium to implement this technology) but today there are many different media types that can use it. Vista and later The AutoRun task is no longer automatically and silently executed on any drive type. Copy shell=verb Parameters verbThe verb that corresponds to the menu command.

Unsourced material may be challenged and removed. (September 2010) (Learn how and when to remove this template message) An autorun.inf file is a text file that can be used by the icon Specifies the path and file name of an application-specific icon for the CD-ROM drive. We appreciate your feedback. Thus the Autorun.inf is largely a rudimentary instruction file operating at the core of the CD directory.

No programming or design required! In this case, the shellexecute entry is read, and the Shell invokes the file handler associated with .txt files; typically this would open Readme.txt in Notepad. The file name can therefore be an executable or a data file. When removal process is completed, a log report will open and you may be prompted to restart your computer.

icon=iconfilename[,index] The name of a file resource containing an icon. Copy icon=MyProg.exe,1 label The label entry specifies a text label which represents the AutoRun-enabled drive in the Windows user interface. Sprache: Deutsch Herkunft der Inhalte: Deutschland Eingeschränkter Modus: Aus Verlauf Hilfe Wird geladen... This prevents a lengthy search through the entire contents of a CD-ROM.

If one of these contents is set to false through one the case-insensitive values 0, n, no, f, or false, the Autoplay UI does not display the handlers associated with that The following example specifies the value "MyContentOnArrival" as a new AutoPlay content event. SHELLEXECUTE = The SHELLEXECUTE command opens a document or starts an application. Copy label=LabelText Parameters LabelTextA text string containing the label.

The following example specifies the second icon in the MyProg.exe file. Use of this section is intended to allow content authors to communicate the intent of content to Autoplay. An autorun.inf file must contain this section to be valid.