BoardBabe Posted September 18, 2005 Posted September 18, 2005 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
AlBundy33 Posted September 18, 2005 Posted September 18, 2005 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
BoardBabe Posted September 18, 2005 Author Posted September 18, 2005 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.
AlBundy33 Posted September 18, 2005 Posted September 18, 2005 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
athomsen Posted September 19, 2005 Posted September 19, 2005 You can just use reg before or after to run a reg file. Behind the scenes WPI will add REGEDIT /S for you.
Kelsenellenelvian Posted September 20, 2005 Posted September 20, 2005 (edited) 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, 2005 by kelsenellenelvian
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