Is it possible to modify a registry entry via a .bat/.cmd script?

前端 未结 8 973
萌比男神i
萌比男神i 2020-12-04 12:12

Is it possible to modify a registry value (whether string or DWORD) via a .bat/.cmd script?

8条回答
  •  日久生厌
    2020-12-04 12:47

    Yes. You can use reg.exe which comes with the OS to add, delete or query registry values. Reg.exe does not have an explicit modify command, but you can do it by doing delete and then add.

提交回复
热议问题