File 删除并添加注册表项.bat
我导出要合并.reg文件的密钥File 删除并添加注册表项.bat,file,batch-file,cmd,command,registry,File,Batch File,Cmd,Command,Registry,我导出要合并.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 "WSCURR
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文件
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"
试试这个
试试这个
我想通过创建批处理文件.bat来合并.reg文件
另一个答案更简单的方法是导入.reg
文件
批处理文件示例:
@echo off
regedit myfile.reg
进一步阅读
- -对于所有与Windows命令行相关的内容都是一个很好的参考
- -从文本(.REG)文件导入、导出或删除注册表设置
.reg
文件
批处理文件示例:
@echo off
regedit myfile.reg
进一步阅读
- -对于所有与Windows命令行相关的内容都是一个很好的参考
- -从文本(.REG)文件导入、导出或删除注册表设置