is used to tell Windows how to autorun your CD or DVD. To autorun a document instead of a program, you should use shellexecute command. Looking into the file of an infected usb key by the Sality virus Conficker uses the shellexecute command in the file as. An file is a text file that can be used by the AutoRun and AutoPlay components of The “AutoRun task” is the application specified by the open or shellexecute keys. If an AutoRun task is specified it is executed immediately without.

Author: Narg Taurisar
Country: Mozambique
Language: English (Spanish)
Genre: Sex
Published (Last): 22 December 2015
Pages: 197
PDF File Size: 16.45 Mb
ePub File Size: 7.66 Mb
ISBN: 980-9-14901-436-7
Downloads: 54399
Price: Free* [*Free Regsitration Required]
Uploader: Zulkigrel

Using MenuBox in this way is completely free. This entry has no effect on versions of Windows earlier than Windows XP. The second icon in Filename. Configuration files Windows administration. The first icon stored within setup.

Long filenames will be truncated to an “8. If one of these contents is set to true through one the case-insensitive values 1, y, yes, t, or true, the Autoplay UI displays the handlers associated with that content type regardless of whether autodun.inf of that type exists on the media. Download Purchase Support Company. MenuText can be mixed-case and can contain spaces. The mere existence of an autorun. All subdirectories of that path are also searched.

In the case of folders with spaces in their names, do not enclose them in quotes as the quotes are taken literally as part of the path.

Use of the CD-ROM AutoRun Functionality to Open HTML, PDF and Other Documents

Also it specifies that Windows should use first icon from Setup. The Content section allows authors to communicate the type and intent of content to AutoPlay without AutoPlay having to examine the media.


This article compares various approaches which do not resort to third-party add-ons. If it does not find one, it uses the information in the [autorun] section. This file specifies a sheplexecute application that she,lexecute be run, along with a variety of optional settings. ShellExecute does not work on older versions of Windows i. INF file similar to:.

With 1st AutoRun Express you will do it in a few clicks. If the executable contains autorun.lnf than one icon then an optional index field can be specified to indicate which icon to use:.

1st AutoRun Express

These instructions are also required if your CD might be viewed by non-Windows users. 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 files. Depending shellwxecute the version of Windows in use and options specified in Autorun. The menu text is “Read Me”, and ‘M’ is defined as the item’s shortcut key.

These approaches, which all have various limitations, include: To create a CD that will auto-run is actually very simple. They should indicate application to be run, the company that created it, and any associated branding. It may include a path and any arguments.

You can include a custom event name in the Autorun. The autorun section contains the default AutoRun commands. If it is a data file, it must be a member of a file type. There is no way to force your users to use AutoRun.

Creating an AutoRun-Enabled Application

Verbs must not contain embedded spaces. The file name specified with this command must be located in the same directory as the file name specified by the open command. You can start one or many documents, display a menu if required. Once again, the action taken by the Shell when this CD is inserted depends on the version of Windows in use.


Creating an AutoRun-Enabled Application (Windows)

This method too only works on Windows 9 x class systems, and fails on Windows NT 4. For his day job he develops websites and desktop applications as well as providing IT services.

Specifies a text label to represent the drive in the Windows user interface. After shellexecutte Shell finds a section, it ignores all others, so each section must be self-contained.

We appreciate your feedback. There are two parts to this entry, which must be on separate lines. If the user accepts the option, the application specified by the open or shellexecute entry in the media’s Autorun. To use this option, add an entry for UseAutoPlay to the Autorun.

This value should be found in this key: Following are the sections and keys allowed in a valid autorun.

The second line specifies the custom entry of the shortcut menu. For this type, a default entry is used in the Autoplay dialog if no action entry is present in the Autorun. Email Required, but never shown. INF is a simple text file – so use notepad to edit it.