How to create a autorun file




















When a user inserts a disc into a CD-ROM drive on a AutoRun-compatible computer, the system immediately checks to see if the disc has a personal computer file system. If it does, the system searches for a file named Autorun. This file specifies a setup application that will be run, along with a variety of optional settings. The startup application typically installs, uninstalls, configures, and perhaps runs the application.

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 is inserted. Note Autorun. They consist of one or more sections, each headed by a name enclosed in square brackets. Each section contains a series of commands that will be run by the Shell when the disc is inserted. Below I am going to tell you how to make use of both solutions.

To get started, we need a USB flash drive, Notepad other editors are not recommended as they add extra coding , an application you wish to run when the stick is plugged into the USB port. The item will be selected by default. Next to the text, the icon specified by the Icon command is shown. And when the user chooses the selected item, the program file specified by the Open command is launched.

Sometimes we may need to make an autorun USB menu. For example, as an artist you may want to assemble a portfolio of your designs under a nice front-end and show it to prospective clients from the autorun USB stick. Or, you may want to create a business presentation or lecture that could also start from the USB key automatically. I've been using autorun file for changing my drive's name and associate a icon with it. Till now I was using the following command.

I was wondering that if I could add something that would run a program or open a folder when I plug in that flash drive. This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.

Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site.

Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect.

Edit this Article. We use cookies to make wikiHow great. By using our site, you agree to our cookie policy. Cookie Settings. Learn why people trust wikiHow. Download Article Explore this Article Steps. Tips and Warnings. Things You'll Need. Related Articles. Open Windows Notepad. To begin making an autorun CD, click open the start menu followed by a folder named "Accessories. Alternatively, you can also type "Notepad" into the search or run bars on your Start menu in order to launch it directly.

Create an Autorun. Replace both 'filenames' with the actual name of the program's. After finishing that, save the file. However, instead of saving it as a.

Name the file Autorun. If the program you are trying to make an autorun CD out of doesn't have an. Burn the Autorun CD. Start your CD burning program and follow the instructions for burning the type of disc you are trying to make.

Now that you have the Autorun.



0コメント

  • 1000 / 1000