title: How to download and get values from JSON file using VBScript or batch file?
body: <p>This is the VBScript code answered <a href="https://stackoverflow.com/questions/30505306/how-to-get-value-from-json-file-to-a-variable">here</a> to get the JSON file from computer with proper values.</p>
  
  <pre><code>Set fso = CreateObject("Scripting.FileSystemObject")
  
  json = fso.OpenTextFile("C:\path\to\combined.json").ReadAll
  
  Set re = New RegExp
  re.Pattern = """passed"":(true|false),"
  re.IgnoreCase = True
  
  For Each m In re.Execute(json)
    passed = CBool(m.SubMatches(0))
  Next
  </code></pre>
  
  <p>But I have a JSON file that looks like this which is online,</p>
  
  <pre><code>["AA-BB-CC-MAKE-SAME.json","SS-ED-SIXSIX-TENSE.json","FF-EE-EE-EE-WW.json","ZS-WE-AS-FOUR-MINE.json","DD-RF-LATERS-LATER.json","FG-ER-DC-ED-FG.json"]
  </code></pre>
  
  <p>How to download this JSON file and get the values to five variables using either VBScript or batch file?</p>