コマンドライン長の上限
コマンドライン文字列に課される長さの上限。CreateProcessのlpCommandLineは終端のnull文字を含めて32,767 UTF-16コード単位(サロゲートペアの文字は2つと数える)、cmd.exeのコマンドラインとバッチファイル内の行は8,191文字、.NETのProcessStartInfo.Argumentsは文字列長(UTF-16コード単位)が32,699未満。
この概念が関わる関係
- 応答ファイルはコマンドライン長の上限を軽減します。
この概念を扱う記事
一次資料
- https://learn.microsoft.com/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessw
- https://learn.microsoft.com/troubleshoot/windows-client/shell-experience/command-line-string-limitation
- https://learn.microsoft.com/dotnet/api/system.diagnostics.processstartinfo.arguments
このページはサイトの知識グラフ(_data/knowledge/)から自動生成されています。誤りの指摘はお問い合わせからお願いします。