title: How can I parse a string up to a specific character, and nothing after that character
body: <p>So I am using a batch script to send me notifications when certain actions are completing on my home server. The problem is one set of actions has a name format I can't modify, but I want the name to come through clean without additional content. </p>
  
  <p>For example, what I want to see is: This File Is Done Processing</p>
  
  <p>What I am seeing is: This File Is Done Processing [additional file info]</p>
  
  <p>The batch variable I am using to extract the file name is: SET PName=%*</p>
  
  <p>So my question is can is there a way to modify that variable for parsing to exclude the first [ in the string and everything after it?</p>