Running a batch file synchonously

  • Thread starter Thread starter eric.goforth
  • Start date Start date
E

eric.goforth

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
 
Back
Top