How to get a program on a flash drive to autorun?

Matt

New member
There's a program on my flash drive, more specifically an application launcher, that I'm trying to get to run automatically when I put my flash drive into my computer. I have Vista. I made the autorun.inf file and it says:
[autorun]
open=StartPortableApps.exe
action=Run StartPortableApps Program
icon=StartPortableApps.exe
label=Matt's Flash Drive

Is everything here right? Where is my problem?
 
It looks OK. Make sure you put StartPortableApps.exe in the root folder, and not in a subfolder.
===
EDIT: You can tell it to look for and icon in and exe file. I think the syntax is
icon=StartPortableApps.exe,0
but I'm not sure. Check it up.
 
Back
Top