Running a program from the command line

G

Guest

Hi I want my VB.NET application to run a command from the command line and then wait for the command to finish before continuing.

I am currently using

System.Diagnostics.Process.Start(strApp)

where strApp is the the command line text.

However this method starts a new process and therefore my application continues without waiting.

Any ideas?
 
C

Cor Ligthert

Hi,

You have asked this question 3 times in the Dotnet General group, and 2
times in this newsgroup.

Jon Skeet has given you a nice answer in the newsgroup dotnet.general, when
it does not fit, tell it, he is always preparred to help further when
something is misunderstood, however please one message and questions in the
same thread, when you want it in more dotnet newsgroups, that is no
problem, however crosspost it, with one message to more newsgroups.

I assume this was just new expirience,

Cor
 
S

SStory

Cor,

How does one do that?

Just put ; between newsgroup name when posting or something??

Thanks,

Shane
 

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