a06lp Posted January 7, 2005 Posted January 7, 2005 (edited) Does anyone else call WPI from cmdlines.txt?I'm pretty sure this is how to do it, and it allows running WPI off the CD too![COMMANDS]"REGEDIT /S ..\Tweaks\RegTweaks.reg""..\WPI\WPI.cmd"cmdow @ /HID@ECHO OFFfor %%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.regSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\001 /V 1 /D "%CDROM%\WPI\WPI.hta" /fEXIT Edited January 7, 2005 by a06lp
mad_mattx Posted January 9, 2005 Posted January 9, 2005 Hi, just wondered if the wpi.hta displayed properly on the 640x480 screen alright. Or if you might be able to change it anyway.thanksMatt
a06lp Posted January 9, 2005 Author Posted January 9, 2005 Hi, just wondered if the wpi.hta displayed properly on the 640x480 screen alright. Or if you might be able to change it anyway.thanksMattwhat in the world does this have to do with the topic?
mad_mattx Posted January 9, 2005 Posted January 9, 2005 what in the world does this have to do with the topic?Well when I run stuff in the cmdlines.txt, it normaly runs there and then which means what I thought was a 640x480 resolution by default. Am I not correct?I tried to put the code in any how, but I could not get it to work so I can not confirm my comments...cmdlines.txt[COMMANDS]"useraccounts.cmd""RunOnceExt.cmd""%systemdrive%\install\wpi\wpi.cmd"wpi.cmdcmdow @ /HID@ECHO OFFfor %%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 %systemdrive%\install\wpi\wpi.regSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\7z413b.exe -y /q /r:n" /fREG ADD %KEY%\001 /V 2 /D "%systemdrive%\install\wpi\WPI.hta" /fREG ADD %KEY%\001 /V 3 /D "%cdrom%\Software\cleanup.cmd" /fEXIT
a06lp Posted January 10, 2005 Author Posted January 10, 2005 no.this code in cmdlines.txt is NOT running immediatly - it is adding it to RunOnceEx, which runs later (at first logon).if your code said "start wpi.hta" then it would run. (if it is even possible for it to run at that point). but the code is ADDING IT TO RUNONCEEX, so it won't run till later.for me, it runs at 1024x768, but that's because i set my resolution.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now