title: 1734: The array bounds are invalid
body: <p>I have a script in which I need to run one command as an administrator. When I ran this command the script errors with a 1734 error.</p>
  
  <p>My script is very basic:</p>
  
  <pre><code>runas /user:Administrator "myexec.exe \"param with spaces\" otherparam -Djava.ext.dirs=%JAVA_EXT_DIRS%"
  </code></pre>
  
  <p>The problem comes from the variable JAVA_EXT_DIRS which is kind of huge.</p>