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: Mikat Kagasar
Country: Haiti
Language: English (Spanish)
Genre: Education
Published (Last): 27 September 2010
Pages: 427
PDF File Size: 12.48 Mb
ePub File Size: 3.72 Mb
ISBN: 272-3-20495-955-1
Downloads: 40992
Price: Free* [*Free Regsitration Required]
Uploader: Zulugul

By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand shellexecufe your continued use of the website is subject to these policies. 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.

This may be the name of an executable file that contains an icon. 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.

After the Shell finds a section, it ignores all others, so each section must be self-contained. You can start one or many documents, display a menu if required. This command is used during a driver installation and is not part of an AutoRun operation.


The Open key can only be used to run an executable, not a document file. By using this site, you agree to the Terms of Use and Privacy Policy. If the executable contains more than one icon then an optional index field can be specified to indicate which icon to use:.

First, consider an Autorun. From Wikipedia, the shdllexecute encyclopedia. When UseAutoPlay is used, any action specified by the open or shellexecute entries in Autorun. The shellexecute command is more flexible than the open command and will allow you to open nearly any file on a PC shellexxecute its native application, so can be used for PDFs, Word files, web pages and movies where the open command would not work.

Specifies a text label to represent the drive in the Windows user interface. Specifies a custom command listed in the shortcut menu for the icon. Shellexecute is no way to check if, for example, DOC file can be opened. The shellexecte section contains the default AutoRun commands. This is because this method relies on the presence of a file autorun.innf “Start. For the file to be discovered and used by these component, it must be located in the root directory of a volume. Please help improve this article by adding citations to reliable sources.

He moonlights as a technical author and consultant. Enabling and Disabling AutoRun. 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.


An action command in the Autorun. The icon is displayed next to it. The “ShellExecute” shellexecuye is often discussed in newsgroups as a possible solution to automatically launch document files e.

Create a CD that will autorun

A string that contains the file’s name. There are two other – uncommon – ways of disabling AutoRun. Each key can be set to indicate true or false values and values are not case sensitive.

The only valid key is:. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

– How to autorun DOC, HTML, PDF, PPT and any other document?

This auutorun.inf is similar to openbut it allows you to use file association information to run the application. Multiple key entries are allowed.

This file specifies a setup application that will be run, along with a variety of optional settings.

Note It is possible to put a value in the LabelText parameter which exceeds 32 characters and receive no error message. Please consult the Microsoft documentation for more details. This site uses cookies for analytics, personalized content and ads.