bober Posted July 16, 2006 Share Posted July 16, 2006 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. Link to comment Share on other sites More sharing options...
Clint Posted July 17, 2006 Share Posted July 17, 2006 (edited) 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, 2006 by Clint Link to comment Share on other sites More sharing options...
bober Posted July 17, 2006 Author Share Posted July 17, 2006 i found that thru google.thanks again,Clint. Link to comment Share on other sites More sharing options...
Clint Posted July 17, 2006 Share Posted July 17, 2006 Np bro! Link to comment Share on other sites More sharing options...
midi2k6 Posted August 15, 2008 Share Posted August 15, 2008 (edited) 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, 2008 by midi2k6 Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 17, 2008 Share Posted August 17, 2008 Yeah thats all fine and dandy except for almost every AV in the world now detects cmdow as a virus.... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now