Automatically run your favorite applications in USB Flash

Every time you plug a USB Flash drive into your computer, Windows Explorer browses through the files and then asks what applications you want to open? So annoying ! Sometimes you feel uncomfortable. You like the feature to manually load the application just like when you insert a CD into the CD-ROM drive. B & ag

Every time you plug a USB Flash drive into your computer, Windows Explorer browses through the files and then asks what applications you want to open? So annoying ! Sometimes you feel uncomfortable. You like the feature to manually load the application just like when you insert a CD into the CD-ROM drive. In this article, we will help you read that simple dream in minutes.

Picture 1 of Automatically run your favorite applications in USB Flash
The program automatically runs the program every time you plug into Windows XP SP2, and also displays the icon when you open Windows Explorer. You can also name the USB drive with any name you like, but will be limited to 11 characters - the maximum number of characters that allows the drive label in Windows. To do this, create the "Autorun.inf" file in the root of the drive with the same content as the following example:

[autorun]

open = PortableFirefox.exe action = Start PortableFirefox

icon = PortableFirefox.exe label = Portable Internet

In it, the line "open = " allows auto-loading ( AutoPlay ) feature of Windows XP to open programs in the example above PortableFirefox.exe and the "acion =" command allows adding parameters when loading in the wallet This example is Start PortableFirefox . However, you should also pay attention to paths if the files are not in the root directory. You need to remove the drive letter from the path, because you cannot know which drive name will be used on other computers.

The name "icon =" and "label =" indicates that the icons and labels of the drive will be displayed in Windows Explorer. This icon may be an embedded icon in the program or other sources such as DLL or ICON files . The first icon in the list of icons will be selected by default. However, you can change the symbol with the number behind the "," in the path to the program. The first symbol is 0, the second symbol is 1 . For example: icon = PortableFirefox.exe, 1 to get the 2nd icon in the program.

Minh Phuc

Update 13 December 2018
« PREV
NEXT »
Category

Technology

Life

Discover science

Medicine - Health

Event

Entertainment