Home > General > Autorun.inf


Note  Autorun.inf files are not supported under Windows XP for drives that return DRIVE_REMOVABLE from GetDriveType.   The Autorun.inf file can also contain optional information including: The name of a file that contains All subdirectories of that path are also searched. verb is a string with no embedded spaces. By placing settings in an autorun.inf file, manufacturers could decide what actions were taken when their CD-ROM was inserted.

Select Edit|Find and type in NoDriveTypeAutoRun. Loading... LABEL = The LABEL command specifies a text label which represents the AutoRun-enabled drive in the Windows user interface. When you create an Autorun.inf file you can use Notepad as an editor.

shell\verb=menu text Optionally specify the text displayed in the shortcut menu for the verb above. Use an ampersand (&) to select a hotkey for the menu. Click OK and after this command you will find a new drive O: in My Computer with the same contents as in C:\My CD folder. If you want your program, document, presentation or web page to be open, once a CD is inserted, then you need to create AUTORUN.INF file or just use our 1st AutoRun

Loading... Any other keys in this section will be ignored. Watch Queue Queue __count__/__total__ Find out whyClose How to Make an Autorun (.inf) File Welcome to Guides4Tech! This command also executes when the user double-clicks the drive's icon.

These instructions are also required if your CD might be viewed by non-Windows users. SHELL\VERB = The SHELL\VERB command adds a custom command to the drive's shortcut menu. UseAutoPlay=1 Windows XP or later; drives of type DRIVE_CDROM Use AutoPlay rather than AutoRun with CD-ROMs. https://msdn.microsoft.com/en-us/library/windows/desktop/cc144200(v=vs.85).aspx The action taken on CD-ROM insertion will depend on the version of Windows being used.

You can include it to specify the text that displays in the shortcut menu. There are the following commands available: icon=my.ico icon=setup.exe,1 Icon command specifies an icon for the CD drive in My Computer. See below for an example. HomeDownloadOrderTutorialsScreenshotsContact usAbout Autorun.inf structure and making Introduction to Autorun.inf Autorun.inf samples How to create Autorun.inf?

Copy label=LabelText Parameters LabelTextA text string containing the label. http://ccm.net/faq/4210-how-to-remove-autorun-inf-file Remarks The action key is only used in Windows XP Service Pack 2 (SP2) or later. Drives of type DRIVE_REMOVABLE do not use the autorun.inf file.[1] Any discovered removable media are handled by AutoPlay. The file name can therefore be an executable or a data file.

Copy icon=MyProg.exe,1 label The label entry specifies a text label which represents the AutoRun-enabled drive in the Windows user interface. In some computers the AutoRun feature do not seems to work, why? This documentation is archived and is not being maintained. if you have a g drive: type g: and press enter.

DRIVE_FIXED default text is created and used in the AutoPlay dialog. On all other drive types the key is ignored. It specifies Filename.exe as the startup application. Tinkernut 867,330 views 6:14 How To Create Autorun for Flash Drive Easily [HD] - Duration: 2:37. There are two sections that are currently defined for Autorun.inf files.

How to create Autorun.inf? If a file contains more than one icon, you must also specify zero-based index of the icon. This section starts with a header: [autorun] and should be followed with commands.

The following are all valid paths Copy [IgnoreContentPaths] \music \music\more music music2 The [IgnoreContentPaths] section is only supported under Windows Vista and later. [DeviceInstall] Keys DriverPath The DriverPath entry specifies a directory

You may specify an icon file directly or an exe/dll file with icons inside and specify an index of the desired icon. Remarks When a user right-clicks the drive icon, a shortcut menu appears. If you use SHELLEXECUTE to open a PDF file, there must be a copy of Adobe Reader installed. The first icon stored within the setup.exe itself will represent the drive in Explorer: [autorun] open=setup.exe icon=setup.ico label=My install CD Sections[edit] Following are the sections and keys allowed in a valid

Microsoft. ^ "Improvements to AutoPlay". Windows XP will fully search: floppy disks in drives A or B CD/DVD media less than 1 GB in size. Copy your autorun CD contents into the specific folder on your CD. Also, if they press the Shift key down while inserting the CD, AutoRun is disabled.

The shellexecute entry specifies an application or data file that AutoRun will use to call ShellExecuteEx. AutoRun enabled application CD-ROMs to automatically launch a program which could then guide the user through the installation process.