Running a batch file synchonously

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top