I am trying to write an application that starts the command prompt then executes a few strings using SendKeys.SendWait and then when that is done I want to run a different executable that uses files created from the command prompt execution session.

My problem is that the sendwait command doesn't seem to wait for the command prompt to finish before going on to the next command. Does anyone know why or a way around this?

Thanks!