How to create Autorun.inf?

You may create and edit AUTORUN.INF file manually (using Windows Notepad).

Autorun.inf structure and commands

AUTORUN.INF is a text file that should contain an Autorun section. This section starts with a header:

[autorun]

and should be followed with commands. There are the following commands vailable:

icon=my.ico
icon=setup.exe,1

Icon command specifies an icon for the CD drive in My Computer. You may specify an icon file directly or an exe/dll file with icons inside and specify an index of the desired icon.

label=My Presentation

Label command specifies a text label that is displayed for this CD in Explorer

shell\readme\command=notepad README.TXT
shell\readme=Read &me
shell\software\command=Setup.exe
shell\software=Setup the software

Use a series of shell commands to specify one or more entries in the pop-up menu that appears when the user right-clicks on the CD icon. (The shell entries supplement the open command.)
This example shows how to add two entries to the menu (Read me - to display the README.TXT file in Notepad, and Setup the software - to start the software installation by running the "setup.exe" file.)
Any verb string (without spaces) can appear after "shell\"; "readme" and "software" were used above.
On one line, append "\command=" followed by the command you want to run. On the next line, append "=" and the text that appears in the menu. Put an ampersand character (&) before the character that should be used as the menu item short-cut key.

[DeviceInstall]

Windows XP also supports a [DeviceInstall] section in AUTORUN.INF with the DriverPath command specifying a base directory for driver file searches.

[autorun.mips]
[autorun.alpha]
[autorun.ppc]

Comments

Popular posts from this blog

Navagraha Temples - Route Map (Powered by Google)

NetGear DGN1000 - MTU, Partial Loss of Internet Connection, and Performance

Layoffs Cut Deeper Into Economy....... As Recession Hits Most Industries, Corporate Giants Slash Jobs