paperlined.org
apps > usb_flash_drive
document updated 16 years ago, on Jan 24, 2008
Bits of autorun magic, that are intended to replace the 9660 portion of the drive that the U3Launchpad normally resides on.

Worked on 2008-01-23

Used the Universal Customizer to burn a custom ISO.

The ISO was a custom one. You can either build one using AutoHotkey (particularly using ahk2exe). Or, you can use ActivePerl. Of course, I chose the latter.

Use wperl.exe from ActivePerl, so that no console window pops up.

AutoHotkey

autorun.inf:
[autorun]
open=autohotkey.exe hello_world.ahk
icon=autohotkey.exe
hello_world.ahk
MsgBox,Hello world!
File listing of \
AutoHotKey.exe  (from the AHK install)
Autorun.inf
hello_world.ahk
mfc80.dll  (from the AHK install)
msvcp80.dll  (from the AHK install)
msvcr80.dll  (from the AHK install)

Launchy

I like the launcher called "Launchy". (though major downside: it takes up a fair bit more RAM than AutoHotKey)

Note: It has a built-in Portable Mode. (search the documentation PDF for "portable")

Also note: If you want it to index apps that are on the thumb drive, then: 1) whatever program autoruns, make sure it sets some environment variable to what the thumb drive's drive-letter is, 2) create a subfolder of the Launchy folder, called something like "menu\", 3) use the environment variable in shortcuts (shortcuts generally can't be relative, but CAN include env vars)

AHK launcher

Simple... emulate off of this.