Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

VBS file to run multiple Batch files on a UNC share

$
0
0

I would like with one VBS file ton run multiple batch files in a certain order.

This is what i have currenttly but i cannot make it work.

Option Explicit
Dim FSO, shell

Set FSO =CreateObject("scripting.FileSystemObject")

set shell=createobject("wscript.shell")
shell.Run "%comspec% /c \\10.80.19.41\it\PDQ Deploy Packages\CRM packages\Teams\Teams V8.bat" , 0, True

Thanks in advance for your help.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>