Problem in adding string value to registry with .reg file
10,583
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.
Related videos on Youtube
Author by
Morin
Updated on May 26, 2022Comments
-
Morin almost 2 years
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 createdApplication
string value.What could be the problem?
-
Morin about 13 yearsThanx. Meanwhile, I too discoverd the same thing.
-
JinSnow over 5 years@Sarfraz
@="C:\\Users\\.....test.ps1" "%1"
does not work (data field is empty), any idea why?