I'm making a file that first uses PowerShell to decode a JSON file, and then uses Batch to read out the results. I want to put them into variables. Is there a way to define the name of a variable using the text from another variable, like this?
SET name=test
SET %name%=helloworld
ECHO %test%
And if it's not possible, are there some sort of associative arrays in Batch?
Here's my JSON file:
{ "test" : "helloworld" }
Thanks in advance!