我导出了我要合并.reg文件的密钥。
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Autodesk\AutoCAD\R19.1\ACAD-D001:409\Profiles\bkkar\General]
"Coords"=dword:00000002
"StandardsViolation"=dword:00000001
"WSCURRENT"="Drafting & Annotation"
"QnewTemplate"="E:\\STD\\TMP\\BK.dwt"
"ToolPalettePath"=hex(2):45,00,3a,00,5c,00,53,00,54,00,44,00,5c,00,54,00,50,00,\
00,00
"TemplatePath"=hex(2):45,00,3a,00,5c,00,53,00,54,00,44,00,5c,00,54,00,4d,00,50,\
00,00,00
我想通过创建批处理文件.bat
来合并.reg文件答案 0 :(得分:0)
reg add HKEY_CURRENT_USER\SOFTWARE\Autodesk\AutoCAD\R19.1\ACAD-D001:409\Profiles\bkkar\General /v Coords /d 1 /t REG_DWORD
reg add HKEY_CURRENT_USER\SOFTWARE\Autodesk\AutoCAD\R19.1\ACAD-D001:409\Profiles\bkkar\General /v StandardsViolation /d 1 /t REG_DWORD
reg add HKEY_CURRENT_USER\SOFTWARE\Autodesk\AutoCAD\R19.1\ACAD-D001:409\Profiles\bkkar\General /v WSCURRENT /d "Drafting & Annotation"
reg add HKEY_CURRENT_USER\SOFTWARE\Autodesk\AutoCAD\R19.1\ACAD-D001:409\Profiles\bkkar\General /v QnewTemplate /d "E:\\STD\\TMP\\BK.dwt"
试试这个。
答案 1 :(得分:0)
另一个答案是使用regedit
导入.reg
文件的更简单方法。
批处理文件示例:
@echo off
regedit myfile.reg