So, how to launch a program on a USB flash drive?
Using Autorun.inf to automatically launch a program on a USB flash drive seems not to be possible in the same way as with a CD or DVD. So what to do instead? Are there any alternative ways? Well, the answer is yes and no. It depends of the version of Windows. Below we will explain how to handle this in different Windows version. How to launch a program in Windows XP and Windows Vista As described above in this article, an AutoPlay dialog box is shown when the user plugs a USB stick in a USB port. This AutoPlay dialog box contains a list of action (options) that can be performed on the USB flash drive, for example view a slideshow of pictures on the drive (if there exist any) or open Windows Explorer. In Windows XP and Windows Vista it is possible to extend this AutoPlay dialog box with your own action item (option). This will give the USB flash drive almost AutoRun capability. The item is placed as the first item in the action list, and it is also selected by default, so the user only