Question: I want to control cmd.exe from winforms.
I DO NOT mean every command in a single process, with startupinfo, and then stop.
I mean for example start
You do not need interop for this. The .NET Process class gives you all you need, simply redirect standard input stream and output stream and it is done. You can find lots of examples how to do this on the internet.
Process