Question Locked

USB autorun

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Well, firstly I'd like to say that I am using my new computer, and thank you to all those that helped me get it up and running.

Now, my new question... I want my USB flash drive to automatically run an exe file when I insert it. Is that at all possible? It is a PNY 2GB. Not a smartdrive. I have tried googling it and so on, but to no avail so far.

5 replies

by kal_lmn

As I was doing my search, I already came across several pages about the autorun.inf file that usb drives can boot. The only problem with those is that they just edit the pop up menu, so I will still have to select the exe I want to run, just from the pop up list and not the drive. It is close though, its just that I want complete automation (i.e. I put in my flash drive, and it runs the exe, no clicking, no nothing).

by older mycroft

The dialogue box that pops up asking you which program to run (including the one that's specified in the autorun file) is happening because of all the other possible choices that are on the thumb drive.

If there was no other possible choice - the autorun would invoke automatically. ;)

by rob miners

http://www.samlogic.net/articles/autorun-usb-flash-drive.htm

[AutoRun]
OPEN=MYAPP.EXE
ICON=MYAPP.EXE
ACTION=Start my application
LABEL=MYAPP

How to Test Autorun.inf Files

http://support.microsoft.com/kb/136214

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome. ;) :D

This discussion is closed to new replies.