想要在C#应用程序中更改命令提示符窗口 [英] Want to change the Command Prompt Window in C# application

查看:103
本文介绍了想要在C#应用程序中更改命令提示符窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
我想在我的C#应用​​程序中将命令提示符窗口更改为可视命令提示符窗口.我已经尝试通过添加到外部工具来进行更改,但是仍然需要正常的cmd.exe来执行批处理文件.

请帮忙....
我要自定义...

实际上,我的意图是使用Visual Studio命令行提示符执行批处理文件,以便可以从c#应用程序中触发asp预编译事件.有人可以帮帮我吗.

Hi Friends,
I want to change the command prompt windows to Visual Command Prompt Window in my C# application. I have already tried to change by adding to External tools but it is still taking normal cmd.exe to execute the batch files.

Please help....
I want to customize it...

Actually My intention is to use Visual Studio Command Line prompt to execute my batch files so that I can trigger the asp precompile event from my c# application. Can anybody help me out please.

推荐答案


请参考以下链接:
命令提示符控制 [ http://www.gamedev.net/blog/1202 /entry-2250481-emulation-the-command-prompt-in-c/ [ http://stackoverflow. com/questions/3412004/how-can-i-make-a-custom-dos-command-like-cp-md-ren-etc [
Hi,
Refer the links below:
Command Prompt Control[^]
http://www.gamedev.net/blog/1202/entry-2250481-emulating-the-command-prompt-in-c/[^]
http://stackoverflow.com/questions/3412004/how-can-i-make-a-custom-dos-command-like-cp-md-ren-etc[^]


--Amit


这篇关于想要在C#应用程序中更改命令提示符窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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