commandline argument parameter limitation

前端 未结 8 1744
伪装坚强ぢ
伪装坚强ぢ 2021-02-08 09:39

Language: C# I have to pass a huge string array (built dynamically) as an argument to run an exe. I am thinking of acheiving it by the below 2 ways. But I am not feeling confid

8条回答
  •  灰色年华
    2021-02-08 10:32

    • The limitation in Command prompt (Cmd. exe) is 8191. Command prompt (Cmd. exe) command-line string limitation
    • The limitation in c# code using Process is 32768 chars in win10.
    • Tested using Process.start()

提交回复
热议问题