• No Comments

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: Shakora Taurisar
Country: Egypt
Language: English (Spanish)
Genre: Travel
Published (Last): 2 September 2009
Pages: 268
PDF File Size: 9.20 Mb
ePub File Size: 14.35 Mb
ISBN: 385-2-99720-417-7
Downloads: 66052
Price: Free* [*Free Regsitration Required]
Uploader: Faular

This command allows you to create a virtual drive that is actually a folder on your physical drive.

By placing settings in an autorun. This parameter associates a command with the executable file name and the menu item. The folder names are always taken as absolute paths a path from the root directory of the media whether or not a leading slash is used. Enhanced CDs contain both music audio and computer data, so they can be played on audio equipment and used on a computer.

A string that contains the fully qualified path of the directory that contains the data or executable file. You can include it to specify the text that displays in the shortcut menu. This article needs additional citations for verification. A text string containing the shellexecyte. These are all static pages, and are all linked to index. And you can ensure that users will have the appropriate software on their computers!


The open entry specifies the path and file name of the application that AutoRun launches when a user inserts a disc in the drive.

The following example specifies the second icon in the MyProg. INF ‘ in the CD’s root directory and put some simple commands in the file to indicate what you want ehellexecute be auto-run. They should indicate the application to be run, autoru company that created it, and any associated branding.

The second line specifies the custom entry of the shortcut menu. Creating an AutoRun-enabled application is a straightforward procedure. The verb and its associated menu command must be defined in the Autorun. Another problem is that you shellezecute not start more than one document on CD insertion. Menu Text Menu item text that can contain mixed case letters and spaces.

Autorun.inf – Commands

The autorun section contains the default AutoRun commands. The Always do the selected action option is not available in this xhellexecute. If the executable contains more than one icon then an optional index field can be specified to indicate which icon to use: It may include a path and any arguments. For the file to be discovered and used by these component, it must be located in the root directory of a volume. You can start one or shellexecuge documents, sshellexecute a menu if required.

You can also specify a. 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. There are two sections that are currently defined for Autorun.


Once in Notepad, type out the following text: Is this page helpful? A CD contains three files: Limits AutoPlay’s content search to only those folders listed, and their subfolders.

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

Brian Cryer is a dedicated software developer and webmaster. 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.

whellexecute ShellExecute does not work on older versions of Windows i. The second icon in Filename. As Windows has a case-insensitive view of filenamesthe autorun.

Click Start Run then type in regedit. Anyone have a solution? INF in the root-directory of the media.

Autorun.inf Entries

There are two other – uncommon – ways of disabling AutoRun. Verbs must not contain embedded spaces. Specifies a text label to represent the drive in the Windows user interface. The icon is displayed next to it. You will also need your executable application or document you are wanting to open.