我在win2k3机器上.我写了一个.reg文件如下:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KalleService\Parameters]
"Application"="C:\Projects\KalleService\Bin\KalleService.exe"
Run Code Online (Sandbox Code Playgroud)
双击.reg文件/说合并时,它表示注册表已成功修改.但它刚刚创建了Parameters密钥而没有创建Application字符串值.
可能是什么问题呢?
Sar*_*med 10
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KalleService\Parameters]
"Application"="C:\\Projects\\KalleService\\Bin\\KalleService.exe"
Run Code Online (Sandbox Code Playgroud)
在字符串值中尝试使用双斜杠(\\)而不是单个斜杠(\).
| 归档时间: |
|
| 查看次数: |
8896 次 |
| 最近记录: |