For example, the .bat file we want to run is test.bat, and the content is as follows:
There are several ways:
(1) Create a new test2.bat file in the same directory as the .bat file to be run, with the following contents:
Then execute this file.
(2) Add the pause command to the .bat file to be executed, and then execute
(3) Add cmd, or cmd.exe command to the .bat file to be executed, and then execute