- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\PerfTrack]
- "MaxInFlightEvents"=dword:00000064
-
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\PerfTrack\BinaryConfiguration]
-
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\PerfTrack\ConfigCriteria]
- "CriteriaCache"=hex:00
- "LastCriteriaUpdateTime"=hex:00,00,00,00,00,00,00,00
-
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\PerfTrack\InteractionClasses]
-
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\PerfTrack\InteractionClasses\Captive]
- "MaxDuration_ms"=dword:000927c0
-
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\PerfTrack\InteractionClasses\Continuous]
- "MaxDuration_ms"=dword:000927c0
-
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\PerfTrack\InteractionClasses\Custom]
- "MaxDuration_ms"=dword:0000ea60
复制代码 文本就是注册表文件,我想把HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft都更改为HKEY_LOCAL_MACHINE\mysoft
批处理如何写这个替换操作。操作的只是注册表项,不包括键和键值 |