ADO DOT NET Posted June 26, 2007 Posted June 26, 2007 Hi, I have 80 exe files starting from 01.exe to 80.exe I want to run them one by one, wait for the process to complete, then run the next one. I just want to know how should I run an exe file "01.exe /quiet/norestart" and wait for its process to complete? So I can move to the next one! Any help please?:) Quote
Administrators PlausiblyDamp Posted June 26, 2007 Administrators Posted June 26, 2007 The Process Class is the easiest way to run each program, it has a WaitForExit Method that you can used to prevent your application doing anything till the app has exited. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.