September 18, 200520 yr Can it be done?like reg add...Or do I have to REGEDIT /S someregfile.reg?Id like to apply [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_05]"HideSystemTrayIcon"=dword:00000001 as Commandline2
September 18, 200520 yr And where is the Problem?If your Reg-file is under D:\Software\RegistryTweaks\regtweak.reguse this commandlineREG IMPORT "D:\Software\RegistryTweaks\regtweak.reg"Or use this commandREG ADD "HKLM\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_05" /v "HideSystemTrayIcon" /t "REG_DWORD" /d "1"GreetingsAl
September 18, 200520 yr Author I was just looking for a confirm that the last method you posted works. Applying reg add ... directly from WPI (Command line) and not through a batch or .reg.Since its only 1 reg key change, In my case it would be better to just run it directly from WPI config and not through a separate .reg or batch.
September 18, 200520 yr It should work, of course.Because the REG-command is just an executable under %WINDIR%\system32 (as far as I know just on WinXP - on Win2k it should be in the Resource kit)Al
September 19, 200520 yr You can just use reg before or after to run a reg file. Behind the scenes WPI will add REGEDIT /S for you.
September 20, 200520 yr Yes no more need for "regedit /s" just put the path and name of the reg file i.e. %cdrom%\install\myreg.reg. This has actually been part of WPI for awhile now. Edited September 20, 200520 yr by kelsenellenelvian
Create an account or sign in to comment