The vbs script of running batch quietly

Time:2020-5-22

1. Save as. Vbs

DIM objShell
set objShell=wscript.createObject(“wscript.shell”)
iReturn= objShell.Run (” cmd.exe /C path / change to batch. Bat “, 0, true)

2. Continue saving.vbs

on Error Resume next
set wshshell=createobject(“wscript.shell”)
A= wshshell.run (” cmd.exe /C path / change to batch. Bat “, 0)

3. Continue saving.vbs
createobject(” wscript.shell “). Run” path / change to batch. Bat “, 0

4. Continue to save.vbs

set ws=wscript.createobject(“wscript.shell”)
ws.run “win.bat /start”,vbhide
(of which win.bat For your own batch name, change it)

Xiaoyao revenge: remember that some of the anti-virus are killed. Try it yourself.