在命令提示符下传递命令 [英] passing commands at command prompt
本文介绍了在命令提示符下传递命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨...请帮助任何人..........
我的应用程序遇到以下标准问题.
我必须在Windows中使用C#在Windows应用程序的前端从命令提示符处传递``copy text.txt text1.txt''命令.上面的命令必须直接执行,而不会向用户显示并显示命令提示符输出.我不知道如何为此编写代码.
请任何人帮我...
Hi... please help anyone..........
I am getting the problem with the following criteria in my application.
I have to pass the ''copy text.txt text1.txt'' command at the command prompt from the front end in windows application in C#.the above command has to be executed directly with out showing the command prompt to the user and display the output. I don''t know how to write the code for this.
Please any one help me...
推荐答案
^ ]可以帮助您入门.
This article [^]may help you get started.
请参阅我的文章: ^ ].
您根本不需要使用命令提示符,只需将命令行参数传递给应用程序本身即可.
—SA
Please see my Article: Enumeration-based Command Line Utility[^].
You don''t need to use command prompt at all, just pass command line parameters to the application itself.
—SA
这篇关于在命令提示符下传递命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文