【问题标题】:Specifying command line arguments from the command prompt从命令提示符指定命令行参数
【发布时间】:2012-11-12 12:42:25
【问题描述】:

如何从 Visual Studio 命令行提示符指定命令行参数?

假设我想用一组字母或其他东西来开始我的 Main。在 Visual Studio 2010 中,我会浏览调试选项卡,但我不知道如何使用命令行提示符进行操作。

【问题讨论】:

    标签: c# visual-studio-2010 command-line-arguments command-prompt


    【解决方案1】:

    你只需在你的 exe 名称后添加它:

    myProg.exe arg1 arg2 arg3
    

    【讨论】:

    • 不用了,现在你就知道了:)
    猜你喜欢
    • 1970-01-01
    • 2014-08-09
    • 2010-11-30
    • 2017-04-22
    • 1970-01-01
    • 1970-01-01
    • 2018-05-01
    相关资源
    最近更新 更多