Does not display the command window BAT file is run method

Command window does not display can be programmed to call a VBS file BAT file, run the BAT file.

Create a notepad document, is saved as abc.vbs, add the following code in the file:

Set shell = Wscript.createobject("wscript.shell")

a = shell.run ( "BAT folder where the file \ BAT file to run .bat", 0)

Guess you like

Origin www.cnblogs.com/guohu/p/11325270.html