如何在.net Windows应用程序中打开dos提示 [英] how can i open dos prompt in .net windows application

查看:65
本文介绍了如何在.net Windows应用程序中打开dos提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在.net Windows应用程序中打开一个dos提示.请提出任何dll文件或任何其他替代方法.

I want to open a dos prompt within my .net windows application. Please suggest any dll file or any other alternative.

推荐答案

您可以在 Diganostics 名称空间中使用Process.Start("cmd.exe");它. br/>
请参见 MSDN [文章 [ ^ ]将向您显示操作方式.[/Edit]
You can use Process.Start("cmd.exe"); It''s in the Diganostics namespace.

See MSDN[^]

If you don''t want the user to be able to type into the cmd session then this stack overflow article[^] will show you how.[/Edit]


在此期间,不再存在"DOS提示符"之类的东西.知道你在问什么.

—SA
There is no such thing as "DOS prompt" anymore, period. Know what are you asking about.

—SA


这篇关于如何在.net Windows应用程序中打开dos提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆