Change it to;
"Application"="C:\\Program Files\\Java\\jre1.5.0_06\\bin\\rmiregistry.exe"
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
<(E-Mail Removed)> wrote:
| Hi,
|
| I just want to add a value to the registry entry via regedit /s, but
| always failed and no error msg shown.
|
| my reg file - aa.reg:
| =====================================
| REGEDIT4
|
|
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RMIregistry\Parameters]
|
| "Application"="C:\Program Files\Java\jre1.5.0_06\bin\rmiregistry.exe"
| ======================================
|
| and I fire regedit /s aa.reg, then I checked the registry, it didn't
| work, no entry was added.
| For testing, I changed my reg file as below:
| =====================================
| REGEDIT4
|
|
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RMIregistry\Parameters]
|
| "Application"="C:\Program Files\Java\jre1.5.0_06\bin\rmiregistry.exe"
| "Description"="for the use of RMI server registry"
| ======================================
|
| and run again, this time I found the value "Detecription" is added but
| not the "Application", why?
| Is the format wrong?
| any help is appreciate.
|