Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem in adding string value to registry with .reg file

I'm on win2k3 machine. I wrote a .reg file as below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KalleService\Parameters]
"Application"="C:\Projects\KalleService\Bin\KalleService.exe"

When double click the .reg file/say merge, it says registry modified successfully. But it has just created the Parameters key and has not created Application string value.

What could be the problem?

like image 314
Morin Avatar asked Apr 01 '11 07:04

Morin


1 Answers

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KalleService\Parameters]
"Application"="C:\\Projects\\KalleService\\Bin\\KalleService.exe"

try double slashes(\\) instead of single slash (\) in the string value.

like image 132
Sarfraz Ahmed Avatar answered Sep 20 '22 05:09

Sarfraz Ahmed