If you are using Command Prompt, you can set single variable from heroku config output:
for /f "tokens=*" %%i in (\'heroku config:get CONVAR_NAME -a