title: Windows Batch: Call function for each path in delimited string
body: <p>I have a variable that contains the following:</p>
  
  <pre><code>"pdfList=D:\BundleManager\AssetPackageManager.unity;D:\BundleManager\AssetPackageManager.unity\.vs\AssetPackageManager.unity;D:\Crafting\CraftingExample.unity;D:\ResMan\FFResManExample.Unity;"
  </code></pre>
  
  <p>And I want to call a function for each of those paths separated by ; The code I currently have is </p>
  
  <pre><code>for /F "delims=;" %%a in ("%pdfList%") do (@echo %%a)
  </code></pre>
  
  <p>But this is just echoing the following</p>
  
  <pre><code>D:\BundleManager\AssetPackageManager.unity
  </code></pre>
  
  <p>I've tried setting <code>tokens=*</code> as an option but this just echos the value of pdfList complete with ; still present. Where am I going wrong?</p>