Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a program thats called myApp.exe

My inf file is this:

[autorun]
open=myApp.exe
action=Run myApp
icon=myApp.exe
label=myApp

The icon works and the label. But it won't show the .exe in the list of options when you plug the USB drive in. Everything is in the root. Any ideas?

share|improve this question

Autorun.inf files are handled differently in Windows 7 to improve security. Only removable optical media, i.e. type DRIVE_CDROM, can specify an AutoRun (open) task.

share|improve this answer
    
I know it won't actually execute the program. But I just wanted it to appear on the list of options along with things like Import pictures and videos and Open folder to view files. Is this not possible anymore? – Eric Banderhide May 8 '12 at 12:08
    
That is correct. It will not appear on the list. – iglvzx May 8 '12 at 14:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .