REG ADD a REG_MULTI_SZ Multi-Line Registry Value

前端 未结 4 1968
你的背包
你的背包 2021-01-01 04:42

To add a REG_MULTI_SZ multi-line registry value, i can do

reg.exe ADD \"HKLM\\path\\to\\registry\\key\" /v RegistryValue /t REG_MULTI_SZ /d \"abc\\0def\\0\"
         


        
4条回答
  •  说谎
    说谎 (楼主)
    2021-01-01 04:57

    Try this:

    @reg.exe add "HKCU\Software\Wirkomatron" /v "MySoftware" /d "Software1"\0"Software2"\0"Software3"\0 /t REG_MULTI_SZ /f
    

    And now you can do it with Batch script propertly.

提交回复
热议问题