Skip to content

Instantly share code, notes, and snippets.

@yanhua365
Created October 10, 2014 00:57
Show Gist options
  • Save yanhua365/e79370548923459e7d44 to your computer and use it in GitHub Desktop.
Save yanhua365/e79370548923459e7d44 to your computer and use it in GitHub Desktop.
用vbscript来运行bat文件并隐藏窗口
dim objShell
set objShell=wscript.createObject("WScript.Shell")
iReturnCode=objShell.Run("c:\testcopy.bat",0,TRUE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment