It’s not truncating your file, the /P switch only reads one line.
You need to parse the json first (e.g using a CLI tool):
npm install -g json
json -0 -f settings.json > temp.txt
SET /P METEOR_SETTINGS=<temp.txt
DEL temp.txt
It’s not truncating your file, the /P switch only reads one line.
You need to parse the json first (e.g using a CLI tool):
npm install -g json
json -0 -f settings.json > temp.txt
SET /P METEOR_SETTINGS=<temp.txt
DEL temp.txt