
Controlled using a file called autorun.inf, AutoPlay is designed for CDs, but I see no reason why it should not work with other removable media. I’ve been looking at using the AutoPlay functionality in Windows to launch an HTML document each time I insert a USB flash drive. Please be warned that the information here may be out of date. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. cpp source), and NSIS source to USBStart.This content is 19 years old. usbstart.zip - The program plus deveject (with.There are other things you can add to this file, but the lines above will be enough to get it to work. Make sure that you have file extensions turned on that way you won't accidentally create an file and wonder what is wrong for the longest time. Right-click and create a new text file on your flash drive. When you close the menu, the flash drive should be dismounted automatically and you can remove it safely from the computer. Instructions on this listed below, or you can use the APO Autorun Builder, which comes as part of the APO Autorun Suite.Īt this point, you should be able to dismount the drive, then reinsert it and have the autorun start up the floating menu. Set up an autorun.ini file in the root directory of your flash drive.Set up Floater.txt so that when you run Floater, it will show you an acceptable menu.exe file) to your Utils directory (use Floater-txt). Copy deveject.exe, USBStart.exe and USBStart.ini (in the usbstart.zip file) to the Utils folder.


When I close Floater, USBStart will copy an unmounting program and a little copy of itself to a temp directory on the host computer. I use it to run Floater, which is a menu for the programs I keep on my flash drive. USBStart will run a program when it starts, then unmount the flash drive when that program finishes.

It also works well with APO USB Autorun, which is a free program that will add the autorun functionality to any earlier version of Windows that supports flash drives (Windows 98 and up). USBStart is designed to run with Windows XP SP2's autorun.
