|
|
本帖最后由 o-sir 于 2025-12-30 16:36 编辑
reg add "HKCR\\*\Shell\NotePad++" /f /ve /t REG_SZ /d "用\"Notepad++\"打开"
reg add "HKCR\\*\Shell\NotePad++" /f /v "Icon" /t REG_SZ /d "\"D:\Program Files\Office Software\Notepad++\notepad++.exe\",0"
reg add "HKCR\\*\Shell\NotePad++\Command" /f /ve /t REG_SZ /d "\"D:\Program Files\Office Software\Notepad++\notepad++.exe\" \"%%1\""
这是ai给的啊,自己验证。
注册表文件
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\Shell\NotePad++]
@="用\"Notepad++\"打开"
"Icon"="\"d:\\Program Files\\Office Software\\Notepad++\\notepad++.exe\",0"
[HKEY_CLASSES_ROOT\*\Shell\NotePad++\Command]
@="\"d:\\Program Files\\Office Software\\Notepad++\\notepad++.exe\" \"%1\""
|
|