title: Running Java Parameters with Spaces In Them
body: <p>I'm using batch and I'm trying to run a java application with multiple parameters. However, since my directories have spaces in them, java doesn't recognise it.</p>
  
  <p>(I'm attempting to run minecraft)</p>
  
  <pre><code>java -Djava.library.path="c:\users\user\documents\visual studio 2013\Projects\launch2\launch2\bin\Debug\libs\" -cp "c:\users\user\documents\visual studio 2013\Projects\launch2\launch2\bin\Debug\versions\1.7.2\1.7.2.jar";
  </code></pre>
  
  <p>And so on and so forth...</p>
  
  <p>The problem here is this part of the code <code>"c:\users\user\documents\visual studio 2013\Projects\launch2\launch2\bin\Debug\versions\1.7.2\1.7.2.jar";</code>. The space in between <code>visual studio</code> makes this happen: <code>Error: Could not find or load main class studio</code> </p>
  
  <p>Is there any way to prevent this?</p>