新建注册表文件
新建一个文本文件,添加下列内容后,修改后缀名为.reg
,双击运行即可实现。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Edit with Paint.Net]
[HKEY_CLASSES_ROOT\*\shell\Edit with Paint.Net\command]
@="D:\Program\paint.net\PaintDotNet.exe" "%1"
执行命令行命令
- 执行命令
regedit /s C:/regbak.reg
以静默安装; regedit C:/regbak.reg
显示安装提示信息。