July 16, 200620 yr incase anyone else removes i.e. and wants to run wpi as a standalone cd.Autorun.inf[AutoRun]open=START.cmdicon=wpi.ico START.cmdREGEDIT /S hta.regstart/wait "" C:\WINDOWS\system32\mshta.exe "%CD%\wpi.hta"exithta.reg;thanks ClintWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.hta]@="hta_auto_file"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\hta_auto_file\shell\open\command]@="\"C:\\WINDOWS\\system32\\mshta.exe\" \"%1\""place these 3 files in the WPI directory. they will silently reg mshta.exe and start WPI.hta.
July 17, 200620 yr Hehe, thats an old reggie right there Actually you can ditch the hta.reg..mshta will find it anyway if you use the %windir%\system32\mshta.exe "%CD%\wpi.hta" command....gives you freedom to use the disc even in a secondary boot or such I didn't knew that back then Edited July 17, 200620 yr by Clint
August 15, 200818 yr Autorun.inf[AutoRun]open=START.cmdicon=wpi.ico START.cmdREGEDIT /S hta.regstart/wait "" C:\WINDOWS\system32\mshta.exe "%CD%\wpi.hta"exitNICE! but would be nicer if the CMD window dissapeared add cmdow.exe in your WPI rootI got mine START.CMD:%cdrom%\wpi\cmdow.exe @ /hidREGEDIT /S hta.regstart /wait %systemroot%\system32\mshta.exe "%CD%\wpi.hta"exit Edited August 17, 200818 yr by midi2k6
August 17, 200818 yr Yeah thats all fine and dandy except for almost every AV in the world now detects cmdow as a virus....
Create an account or sign in to comment