Run CMD from C# Console Application? -


how might run cmd.exe c# console aplication? in powershell can run cmd.exe typing "cmd"

edit: open powershell. type "cmd". that's want.

edit2: thank help. try make clearer. want when user enters "cmd" command line c# application, runs cmd.exe in same window. same typing cmd in powershell.

is process.start("cmd.exe") you're seeking for? (don't forget add using system.diagnostics))
more info process class on msdn


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -