代码改变世界

怎样用命令行导入注册表 .reg 文件

2021-10-12 17:34  jetwill  阅读(679)  评论(0编辑  收藏  举报
https://stackoverflow.com/questions/49676660/how-to-run-the-reg-file-using-powershell

Get-Command reg

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Application     reg.exe                                            10.0.16... C:\Windows\system32\reg.exe

reg.exe import .\test.reg