I'm pretty sure this is how to do it, and it allows running WPI off the CD too!
cmdlines.txt said:
[COMMANDS]
"REGEDIT /S ..\Tweaks\RegTweaks.reg"
"..\WPI\WPI.cmd"
"REGEDIT /S ..\Tweaks\RegTweaks.reg"
"..\WPI\WPI.cmd"
WPI.cmd said:
cmdow @ /HID
@ECHO OFF
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WIN51 set CDROM=%%i:
regedit /S wpi.reg
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\001 /V 1 /D "%CDROM%\WPI\WPI.hta" /f
EXIT
@ECHO OFF
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WIN51 set CDROM=%%i:
regedit /S wpi.reg
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\001 /V 1 /D "%CDROM%\WPI\WPI.hta" /f
EXIT
This post has been edited by a06lp: 07 January 2005 - 08:18 AM



Help

Back to top








