|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Running a batch file synchonouslyHello,
I'm able to run a batch file from a VB.NET application like so: System.Diagnostics.Process.Start(AppDomain.CurrentDomain.BaseDirectory & "saveMylist.bat " & sMYDir) However, I'd like my VB.NET application to wait for the batch file to complete before proceeding. Is there any way to do this? Thanks, Eric Hello eric.gofo***@gmail.com,
Process.WaitForExit() -Boo Show quoteHide quote > Hello, > > I'm able to run a batch file from a VB.NET application like so: > > System.Diagnostics.Process.Start(AppDomain.CurrentDomain.BaseDirectory > & "saveMylist.bat " & sMYDir) > > However, I'd like my VB.NET application to wait for the batch file to > complete before proceeding. Is there any way to do this? > > Thanks, > Eric Hello eric.gofo***@gmail.com,
Process.WaitForExit -Boo Show quoteHide quote > Hello, > > I'm able to run a batch file from a VB.NET application like so: > > System.Diagnostics.Process.Start(AppDomain.CurrentDomain.BaseDirectory > & "saveMylist.bat " & sMYDir) > > However, I'd like my VB.NET application to wait for the batch file to > complete before proceeding. Is there any way to do this? > > Thanks, > Eric GhostInAK wrote:
> Hello eric.gofo***@gmail.com, Thanks, that seems to do it for me.> > Process.WaitForExit > > -Boo -Eric |
|||||||||||||||||||||||