title: How to split string using batch file?
body: <ul>
  <li>How to split string using batch script?</li>
  </ul>
  
  <blockquote>
    <p>SET java_path="C:\Program Files\Java\jdk1.6.0_31"</p>
  </blockquote>
  
  <p>above is my string, i want only "C:\Program Files" from java_path. how to get it?</p>