Hi all
I have some Vb code which runs a .bat file part way through the code, then runs some more commands, but I want the .bat file execution to finish before it continues -
So as above, the .bat file is invoked but only once it has completed do I want the commands which fiollow to start executing. Does anyone know how I can do this?Code:Sub Main () Shell ("C:\run.bat") 'Now run some more code, but only once the .bat file has terminated end sub
Thanks




Reply With Quote