0

I want to execute any sample command of cmd.exe through c# code. Eg. Time/ver this command i want to execute through c# code. 1. By opening cmd.exe and execute. 2. by hiding cmd.exe and get the cmd response in the code.

In this both cases i want to execute. Can you please suggest me correct code links. I have been trying various codes of Process() class but not working for me.

Thanks in advance !!

Amit Patange
  • 189
  • 2
  • 14

0 Answers0