标题: [注册表类] 求教,批处理怎么修改注册表的数据数值? [打印本页]
作者: jzz19921027 时间: 2023-2-1 15:03 标题: 求教,批处理怎么修改注册表的数据数值?
求教,批处理怎么修改注册表的数据数值?
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0]@="Microsoft XML, v6.0"
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0]@=""
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0\win32]@="C:\\Windows\\System32\\msxml6.dll"
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\FLAGS]@="0"
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\HELPDIR]@="C:\\Windows\\System32\"
OFFICE2010安装需要修改里边的数值为C:\\Windows\\System32\\msxml6.dll,不太懂批处理该怎么写,求教
作者: yakeyun 时间: 2023-2-1 22:32
回复 1# jzz19921027 - @echo off
- cd /d "%~dp0"
- (
- echo Windows Registry Editor Version 5.00
- echo [HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0]@="Microsoft XML, v6.0"
- echo [HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0]@=""
- echo [HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0\win32]@="C:\\Windows\\System32\\msxml6.dll"
- echo [HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\FLAGS]@="0"
- echo [HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\HELPDIR]@="C:\\Windows\\System32\"
- ) >install.reg
- regedit /s install.reg
- if exist install.reg del install.reg
- exit
复制代码
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |