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
Post a Comment