I want to write a batch file (.bat) to achieve subordinate functions: Batch import multiple registry key files (.reg) to meet system specific environment requirements; As it stands, I have two registry key files (a.reg and b.reg) that serve different functional purposes. How should I write batch files so that they can be imported to the target PC in bulk? I look forward to your guidance and help; Thank you; Problem points for solving goals:
- Multiple registry key files (.reg format files) are stored in the specified path (such as: D:\Regfiles), write a batch file, to achieve one by one or concurrent import;
- How to solve the implementation of each imported action, the button dialog box automatically click to confirm; (Just look at the picture below.)
It is estimated that a dialog box will pop up 3 times for each file import action, and you need to click "confirm" to continue normally.
- After completing all the set actions smoothly, the execution of the batch file is finished normally; (Can not pop window)