title: Increase the Size Limit of Windows Command Args
body: <p>I am running a competition on <a href="https://codegolf.stackexchange.com/">Programming Puzzles &amp; Code Golf</a> called <a href="https://codegolf.stackexchange.com/q/33137/18487">Good Versus Evil</a>. When I wrote the challenge, I did not anticipate the 50+ submissions I now have. I must now somehow send a Windows command that is slightly larger than 58,000 characters, and I expect the number to grow. Is this even possible?</p>
  
  <p>The code I am using to execute other submissions is as follows (in Java):</p>
  
  <pre class="lang-java prettyprint-override"><code>proc = Runtime.getRuntime().exec(command + " " + history);
  </code></pre>
  
  <ul>
  <li><code>command</code> is something like <code>python angel.py</code> or <code>cscript //nologo PiHart.vbs</code></li>
  <li><code>history</code> is the argument that grows larger than Windows can handle</li>
  </ul>
  
  <p>When the command plus the history grows larger than about 32,000 characters, I get an IOException:</p>
  
  <blockquote>
    <p>CreateProcess error=206, The filename or extension is too long</p>
  </blockquote>
  
  <p>Keep in mind that I can't just change the rules. The PPCG community is intolerant of rule changes that invalidate existing submissions. The temporary rule that I have in place just divides the submissions into manageable pods and then runs the competition in batches. This does not break any submissions, but it could hurt submissions who were expecting a larger play group.</p>