How to run bat without pop-up window

two steps:

1. Create the bat script you want to run

2. Create a .vbs file, the content of the file is as follows:

Set ws = CreateObject("Wscript.Shell")    
ws.run "cmd /c gooxxx.bat",vbhide

Put these two files in a folder, and then just click on the vbs file to run the bat script without a pop-up window

Guess you like

Origin blog.csdn.net/qq_31638535/article/details/127675943