2
Answers

Newbie Q: How can I run dos commands in C# e.g. ipconfig

Ask a question
Loranga

Loranga

19y
5.4k
1
Aloha,

I was using MS Visual studio net for the first time yesterday and made a simple calculator program in c#.
Now to my question: How can I run a dos command from C#? For example if I would to make a button that runs the command "ipconfig /all" or something like that.

 

Answers (2)