windows + R在c#代码中? [英] windows + R in c# code ?
本文介绍了windows + R在c#代码中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
如何使用c#代码运行windows + r命令并使用c#
解决方案
您不需要使用Win + R来运行命令提示符,您可以直接运行cmd.exe。
Process.Start(cmd.exe );会这样做。
检查以下答案
http://stackoverflow.com/questions/1469764/run-command-prompt-commands [ ^ ]
hello
how can i run windows+r command using c# code and run cmd by using c#
解决方案
You don't need to use Win+R to run a command prompt, you can run cmd.exe directly.
Process.Start("cmd.exe");Will do it.
check below answer
http://stackoverflow.com/questions/1469764/run-command-prompt-commands[^]
这篇关于windows + R在c#代码中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文