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: Mezil Mikataxe
Country: Vietnam
Language: English (Spanish)
Genre: Sex
Published (Last): 2 August 2014
Pages: 70
PDF File Size: 15.12 Mb
ePub File Size: 15.83 Mb
ISBN: 406-8-87021-143-8
Downloads: 17801
Price: Free* [*Free Regsitration Required]
Uploader: Turisar

The shellexecute command is more flexible shellexwcute the open command and will allow you to open uatorun.inf any file on a PC in its native application, so can be used for PDFs, Word files, web pages and movies where the open command would not work.

Its primary function is to provide the system with the name and location of the application’s startup program that will be run when the disc autorun.inr inserted.

Remarks The icon, together with the label, represents the AutoRun-enabled drive in the Windows user interface. Specifies a custom command listed in the shortcut menu for the icon. From Wikipedia, the free encyclopedia. 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.

Creating an AutoRun-Enabled Application (Windows)

Therefore, do not use this format if you want to be sure that your data is available. INF file similar to:.

Configuration files Windows administration. The action and icon keys together define the representation of the application that is seen by the end user in the Autoplay dialog.


INF How to autorun.iinf documents with Autorun. Copy your autorun CD contents into the specific folder on your CD. The verb that corresponds to the menu command. The only valid key is:. This article needs additional citations for verification. Let’s shellexecjte be “C: By using this site, you agree to the Terms of Use and Privacy Policy.

The “ShellExecute” approach is often discussed in newsgroups as a possible solution to automatically launch document files e. Also, when you are using our utility 1st AutoRun Express to create autorun cd, then you may test how autorun will run directly from inside the program.

The structure is that of a classic Windows. For the file to be discovered and used by these component, it must be located in the root directory of a volume. Specifies a text label to represent the drive in the Windows user interface. This parameter specifies the text that is displayed in the shortcut menu. This file specifies a setup application that will be run, along with a variety of optional settings.

If a file contains more than one icon image, shellexceute the resource number index shellexecuet the icon in the file to use, e. This entry always appears as the first option in the Autoplay dialog and is selected by default. Specifies an application or data file that is to be opened. The string displayed in the Autoplay dialog is constructed by combining the text specified in the action entry with hard-coded text naming the provider, provided by the Shell.

Create a CD that will autorun

There is no way to check if, for example, DOC file can be opened. However, if you want to launch a document e. The following is an example of a simple Autorun.


A registry setting can be used to disable AutoRun. 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 sample Autorun. To create a CD that will auto-run is actually very simple. This page was last edited on 5 Octoberat Windows will launch the application associated with that file type to open the datafile.

By default, verb is the text that is displayed in the shortcut menu. AutoPlay’s shellexecut search system will not scan the folders listed, nor their subfolders. The data on an Enhanced CD can only use short filenames or folder names. 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.

Use of this section is intended to allow content authors to communicate the intent of content to Autoplay. Otherwise, the default menu item text will be “AutoPlay”, autoruninf launches the application specified by the open entry. Open statement does not open the associated file, but only executable and html-files. The second line autorun.ifn the custom entry of the shortcut menu.

To locate the file in a subdirectory, you must specify a path. And you can ensure that users will have the appropriate software on their computers!