title: Iterate over Key-Value-Pairs in Windows Batch
body: <p>I have a list of Key-Value-Pairs representing setting-names and their value.</p>
  
  <pre><code>ssl=strict 
  always_use_https=on
  minify={"css":"off","html":"off","js":"off"}
  key=value
  many=more
  </code></pre>
  
  <p>I want to apply each value at the specified setting (key) with a curl request within a batch file: </p>
  
  <pre><code>curl -X PATCH "https://api.cloudflare.com/client/v4/zones/%zone%/settings/%key%" ^
      -H "X-Auth-Email: %email%" ^
      -H "X-Auth-Key: %auth%" ^
      -H "Content-Type: application/json" ^
      --data "{\"value\":\"%value%\"}" ^
      --insecure
  </code></pre>
  
  <p>The problem I encountered is the saving of these k-v-pairs and the iteration through them so I send a request for every pair. I can't seem to figure out how to create a dictionary in batch.</p>
  
  <p>If you think there is a different tool than batch better suited for this kind of task, please let me know.</p>