How to minimize DOS windows
Hello
We have to call 3 processes from a programme. start-1-2-3(give control to 3).
In this first 2 are DOS processes which automatically closes DOS windows after completion but in that case the DOS window do not minimize and it looks very odd. Can we minimize DOS window by any means...?
We are using CreateProcess for this... Any solution with code(if possible) will be highly appreciated. This is a very urgent case..
Best Regards
Ashish
Use the STARTUPINFO structure in CreateProcess
Well, from the docs on CreateProcess it looks like you can pass it a pointer to a STARTUPINFO structure whose wShowWindow member can be set to SW_MINIMIZE. Have you tried that?
Alvaro