I have a problem with CMD in a VB.NET project I'm making. How can I input three different commands to the same CMD window I open through a Button on my Form. Whenever I click the button on my form I want the CMD window to open, execute the first command and then automatically proceed to execute the next command and so on.
The three commands must be run in the same sequence in order to do its job.
The code I used:
Process.start ("cmd","/k First Code " & "Second Code " & "Third Code")