title: Open folder based on string?
body: <p>I'd like to write a bat file that can open a folder based on a string.</p>
  
  <p>For instance if the job code is A100</p>
  
  <p>I'd like it to open X:\A Contracts\A100</p>
  
  <p>for B200</p>
  
  <p>X:\B Contracts\B200</p>
  
  <p>etc.</p>
  
  <p>i.e. A etc. is the contract and needs to be one string to allow the "A Contracts" part of the path to be targetted and then the job code needs to be the end.</p>
  
  <p>I have codes from A-D but the last part of the code is always the end folder. However, it is usually A100 - job name (which aren't easy enough to remember). Is it possible to target a partial match using this?</p>
  
  <p>I'm used to writing in Matlab and other scripting languages but I'm a bit fresh with BAT files so any help is much appreciated.</p>
  
  <p>Also, if it'd be possible for the script to keep CMD open and loop back to re-input the next code that'd be amazing!</p>