What I wanted it to do was to give me an choice to run PStart when I plugged in the USB drive.
I had noticed that my wife's USB drive that she runs Allway Sync from gave her that choice so I went looking there.
All I could see different on it was an autorun.inf. There had to be something in there.
It looked pretty normal but it had an entry I wasn't familiar with: action.
Go try and find some documentation on autorun.inf. After many searches, I came across this. It said:
ACTION is a relative new command that was introduced in Windows XP SP2. It is not supported in earlier Windows. This command specifies a text that should be shown as the first option in the Windows Autoplay dialog, together with the icon specified by the ICON. This option is always selected by default and if the user accepts the option, the application specified by the OPEN or SHELLEXECUTE entry in the media's Autorun.inf file is launched.There also was a link to an MSDN page.
So I copied the autorun.inf from my wife's USB drive and made the following changes:
[autorun]Here's what it looks like when I plug it in.
action=Launch PStart Menu
label=Ben's 8GB USB
Just hit Enter and you're off!
Post a Comment