If you use shellexecute to autorun documents you can not ensure that user will have the appropriate software to read your document on their computers. There is. Notes on how to create a cd that will auto run when placed in a drive. shellexecute=datafile, Specifies an application or data file that is to be opened. Windows. [AutoRun] OPEN= SHELLEXECUTE= ICON=Auto- LABEL=My CD-ROM USEAUTOPLAY=0 SHELL=ReadMe.

Author: Voodooran Vozahn
Country: Iran
Language: English (Spanish)
Genre: Spiritual
Published (Last): 24 September 2013
Pages: 341
PDF File Size: 7.4 Mb
ePub File Size: 9.58 Mb
ISBN: 927-5-20713-365-6
Downloads: 34346
Price: Free* [*Free Regsitration Required]
Uploader: Malamuro

Unsourced material may be challenged and removed.

An action command in the Autorun. For his day job he develops websites and desktop applications as well as providing IT services.

There is no way to check if, for example, DOC file can be opened. Extra settings have been added in shellexecjte versions of Windows to support AutoPlay and other new features. Collapse the table of content.

As Windows has a case-insensitive view of filenamesthe autorun. By continuing to browse this site, you agree to this use.

Autorun.inf – Commands

So far, I’ve had no luck in getting the application to even show up on the autorun dialog. To remove substitution later please use the following command: Here is how it would look copied onto your USB Drive. You can also set an accelerator for the menu item by preceding shellexevute of the letters in the item with an ampersand.

  LEY 26786 PDF

And you can ensure that users will have the appropriate software on their computers! This entry always appears as the first option in the Autoplay dialog and is selected by default.

With 1st AutoRun Express you will do it in a few clicks. September Learn how and when to remove this template message. Email Required, but never shown. Wilson F 1 12 It is possible to put a value in the LabelText parameter which exceeds 32 characters and receive no error message.

This entry has no effect on versions of Windows earlier than Windows XP.

The icon entry specifies an icon which represents the AutoRun-enabled drive in the Windows user interface. Sign up using Email and Password. The only valid key is:. The icon, together with the label, represents the AutoRun-enabled drive in the Windows user interface. First, consider an Autorun.

How to use autorun in Windows 7 from a Flash drive to open a webpage? – Stack Overflow

The string displayed in the Autoplay dialog is constructed by combining the text specified in the action entry shellexecuhe hard-coded text naming the provider, provided by the Shell. If you feel like getting a little fancy, you can even add more like a company icon or use a long label to name the drive: The verb that corresponds to the menu command.


Click Start Run then type in regedit. 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 shellexecute the version of Windows in use and options specified in Autorun. Contains any additional parameters that should be passed to ShellExecuteEx. The program is intended to provide a clean slate for the creation of code.


Auto-Running a program from USB flash drive. Folders listed in this section, and their subfolders, are ignored by Autoplay when searching a media for content. The DriverPath entry specifies a directory to search recursively for driver files. Their solution copied below in case of link rot:.