-2

I am making a .NET application that I need to run the windows command prompt within that application.

Is this possible? If yes then how?

I need to make something that looks like the image shown below:

https://i.stack.imgur.com/H4L15.jpg

Kevin Bedell
  • 13,254
  • 10
  • 78
  • 114
divanshu
  • 25
  • 4

2 Answers2

1

Take a look at the System.Diagnostics.Process class. Start cmd with this class and redirect the Streams. Then you can draw a bitmap with a white font and show it to the user.

Anyway, like Ramhound i would directly show the command prompt.

teamalpha5441
  • 741
  • 1
  • 6
  • 20
0

Use Process.Start:

Process.Start("cmd.exe");
Ria
  • 10,237
  • 3
  • 33
  • 60