随笔 - 133  文章 - 0  评论 - 86  0
 [Registry]
Root: HKCR; SubKey: NGIE; ValueData: "NGIE"; ValueType: string; Flags: CreateValueIfDoesntExist UninsDeleteKey;
Root: HKCR; SubKey: NGIE; ValueName: "URL Protocol";ValueData:{app}\NGIE.exe; Flags: CreateValueIfDoesntExist; ValueType: string;
Root: HKCR; SubKey: NGIE\shell\open\command; ValueData: """{app}\NGIE.exe"" ""%1"""; Flags: CreateValueIfDoesntExist; ValueType: string;

注意command项一定要加引号把路径包起来,否则不起效果

posted on 2020-08-06 14:02  二豆  阅读(195)  评论(0编辑  收藏