Creating autorun.ini files


















A USB key is small and can hold gigabytes of data, which makes it perfect for anyone who wants to have computer files and applications always at hand. As you know, when the USB drive is plugged into the port, an autorun USB dialog appears that prompts you to do certain operations: print images, run Windows Media Players, or open a folder.

But what if you have a particular application on the USB drive and want it to be launched from the autorun USB dialog? There are two answers to the question. Firstly, you can put autorun. Secondly, you may want to create a fully-fledged autorun USB menu, which can be used to run a presentation, portfolio, etc.

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. Editor's Picks. The best programming languages to learn in Check for Log4j vulnerabilities with this simple-to-use script.

TasksBoard is the kanban interface for Google Tasks you've been waiting for. Paging Zefram Cochrane: Humans have figured out how to make a warp bubble. Comment and share: How do I Show Comments.

Hide Comments. My Profile Log out. Join Discussion. This topic uses CD-ROM as an example it was the first medium to implement this technology but today there are many different media types that can use it.

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. It is required. It associates a string, called a verb , with the application to launch when the command runs. It is optional. You can include it to specify the text that displays in the shortcut menu. The following sample Autorun. The menu text is "Read Me", and 'M' is defined as the item's shortcut key. If one of these contents is set to true through one the case-insensitive values 1, y, yes, t, or true, the Autoplay UI displays the handlers associated with that content type regardless of whether content of that type exists on the media.

If one of these contents is set to false through one the case-insensitive values 0, n, no, f, or false, the Autoplay UI does not display the handlers associated with that content type even if content of that type is detected on the media. Use of this section is intended to allow content authors to communicate the intent of content to Autoplay.

For instance, a CD can be categorized as containing only music content even though it also has pictures and videos and would otherwise be seen as having mixed content. Folders listed in this section limit Autoplay to searching only those folders and their subfolders for content.

In either case they are taken as absolute paths from the root directory of the media. 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. Use of this section is intended to allow content authors both to communicate the intent of content to Autoplay and to shorten its scan time by limiting the scan to certain significant areas of the media.

Folders listed in this section, and their subfolders, are ignored by Autoplay when searching a media for content. Paths in this section take precedence over paths in the [ExclusiveContentPaths] section. If a path given in [IgnoreContentPaths] is a subfolder of a path given in [ExclusiveContentPaths] , it is still ignored.

The DriverPath entry specifies a directory to search recursively for driver files. This command is used during a driver installation and is not part of an AutoRun operation. A path to a directory that Windows searches for driver files, along with all of its subdirectories. To search multiple directories, add a DriverPath entry for each directory as in this example.

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. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info.

Contents Exit focus mode.



0コメント

  • 1000 / 1000