title: passing strings to batch file through ProcessBuilder
body: <p>I am using Java ProcessBuilder to pass a String to a batch file as an argument. </p>
  
  <blockquote>
    <p>ProcessBuilder pb = new ProcessBuilder(
                    "batch.bat",
                    "jason mary molly");</p>
  </blockquote>
  
  <p>The batch file...</p>
  
  <pre><code> @ECHO OFF
   SET V1=%1
   ECHO %V1%
   pause
  </code></pre>
  
  <p>The batch file output is this (<em>pay attention to the double quotes</em>): </p>
  
  <p>"jason mary molly" </p>
  
  <p>If I pass in only 1 string there are no quotes to be found! My problem is, I have a rather complex program I am writing that requires these 3 arguments to not have quotes around them, or they will be viewed by the program as one file name rather than 3 seperate arguments. Is there a way to remove these double quotes? </p>