I posted THIS after the send keys, as the broken alternative I need help with! So I was right, you didn't read my post. Of course your code works, you're trying to close the prompt which is exactly what my problem is!

'Dim stdin As IO.StreamWriter
'stdin = CMD.StandardInput
'stdin.WriteLine("netsh interface ip set address ""Wireless Network Connection"" static " + IP + " " + SM + " " + DG + " 1")
'stdin.WriteLine("exit")