title: How to get the name of a folder name separated by an underscore into a value in batch?
body: <p>Okay, I am trying to get the name of a folder as a value in batch. The folder looks like this:</p>
  
  <p><strong>John_1</strong></p>
  
  <p>I am trying to only get the first part of the name the <strong>John</strong> part which is separated with an underscore.</p>
  
  <p>Anyone got any solutions?</p>
  
  <p>Thanks</p>