Ximi Elga


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: Momi Nikoran
Country: Slovenia
Language: English (Spanish)
Genre: Literature
Published (Last): 17 August 2016
Pages: 68
PDF File Size: 6.25 Mb
ePub File Size: 16.90 Mb
ISBN: 344-9-12795-612-6
Downloads: 4134
Price: Free* [*Free Regsitration Required]
Uploader: Samular

Autorun.inf Entries

Your Shellwxecute users may have switched off autorun. This parameter specifies the text that is displayed in the shortcut menu. 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. This file specifies a setup application that will be run, along with a variety of optional settings.

Contains any additional parameters that should be passed to ShellExecuteEx. The second icon in Filename. The action and icon keys together define the representation of the application that is seen by the end user in the Autoplay dialog.

Copy your autorun CD contents into the specific folder on your CD. All subdirectories of that path are also searched. The menu text is “Read Me”, and ‘M’ is defined as the item’s shortcut key. These approaches, which all have qutorun.inf limitations, include: Specifies an application or data file that is to be opened.

The DriverPath entry specifies a directory to search recursively for driver files.


The following example specifies the second icon in the MyProg. To autorun a document instead of a program, you should use shellexecute command instead of open command. Each section contains a series of commands that determine how the Autorun operation takes place.

INF file tells Windows to run Setup. ShellExecute does not work on older versions of Windows i. It must not contain embedded spaces.

Creating an AutoRun-Enabled Application (Windows)

Please consult the Microsoft documentation for more details. Sign up using Facebook. 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. Creating an AutoRun-Enabled Application. 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.

Folders listed in this section limit Autoplay to searching only those folders and their subfolders for content. Then click Start Run and enter: In either case they are taken as absolute paths from the root directory of the media. It may include a path and any arguments.

Collapse the table of shellwxecute. Download Purchase Support Company. Stop spending hours making an autorun CD! Enhanced CDs contain both music audio and computer data, so they can be played on audio equipment and used on a computer. If only a file name is specified, it must be in drive’s root directory. If you use shellexecute to autorun documents you can not ensure that user will have the appropriate auyorun.inf to read your document on their computers.

IgnoreContentPaths takes precedence over ExclusiveContentPaths so if a path given in a [IgnoreContentPaths] section is a subfolder of a path given in autlrun.inf [ExclusiveContentPaths] section it is still ignored. Fully qualified path of an executable file that runs when the CD is inserted.


This site uses cookies for analytics, personalized content and ads.

Create a CD that will autorun

How to test Autorun. To use this option, add an entry for UseAutoPlay to the Autorun. How to Implement Autorun Startup Applications. Its primary function is to provide the system with the name and location of autoorun.inf application’s startup program that will be run when the disc is inserted.

Entries – Windows applications | Microsoft Docs

This article compares various approaches which do not resort to third-party add-ons. INF How to autorun documents with Autorun. 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. The open entry specifies the path and file name of the application that AutoRun launches when a user inserts a disc in the drive. For instance, in Windows Explorer, the drive is represented by this icon instead of the standard drive icon.

The name must be no more than alphanumeric characters. There are two other – uncommon – ways of disabling AutoRun. The icon’s file must be in the same directory as the file specified by the open command. There is no way autorun.inff force your users to use AutoRun. The string displayed in the Autoplay dialog is constructed by combining the text specified in the action entry with shellexecutee text naming the provider, provided by the Shell.

A string that contains the file’s name.