会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
SpeakHero
博客园
首页
新随笔
联系
订阅
管理
2012年4月10日
[C#] 调用有管理员权限的CMD
摘要: ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "cmd.exe"; startInfo.Arguments = "/c C:\\Windows\\System32\\cmd.exe"; startInfo.RedirectStandardInput = true; startInfo.RedirectStandardOutput = true; ...
阅读全文
posted @ 2012-04-10 09:14 SpeakHero
阅读(5484)
评论(0)
推荐(0)
编辑
公告