使用C#、. net在cmd提示符下运行命令 [英] Run a command in cmd prompt using c#, .net
本文介绍了使用C#、. net在cmd提示符下运行命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过C#代码从cmd promt中的特定位置运行命令,有什么办法吗? ?
在此先感谢
I want to run a command from a specific location in cmd promt, through my c# code, is there any way ? ?
thanks in advance
推荐答案
我认为您应该可以使用Process.Start()
.你能告诉我哪一条命令对我有更多帮助.
I think you should be able to use Process.Start()
for this. Could you tell me which command I could be of more help.
这篇关于使用C#、. net在cmd提示符下运行命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文