1

I have portable apps on a thumbdrive, and want to automatically run the "menu" app (E:\Applications\Windows\Start.exe) when I insert that drive.

I realize (or think I realize, based on a foggy memory of trying to find a way to do this some time ago) that it can no longer be done with the old autorun approach, at least not in Windows 7.

But there must be some other way: maybe a daemon process that waits for the thumbdrive to be inserted, and then fires up the .exe file? Maybe a daemon that tries every five minutes or so to launch the menu, and doesn't make a fuss when it's not there. Maybe something else?

How can I achieve this?

iconoclast
  • 3,449

2 Answers2

0

Windows won't do this with just any old flash drive, but look up the U3 drives from Sandisk; They emulate a USB CD-ROM drive and a USB flash drive, with an autorun script on the virtual CD-ROM to launch a program from the flash drive part.

Darth Android
  • 38,658
0

Despite the name, USB Safely Remove can do this (as well as help you figure out what programs are preventing you from "safely" removing your flash drive). It's not free (or cheap!) but it may be worth it, considering there doesn't seem to be any other good option to accomplish this.

iconoclast
  • 3,449