Enviornment variables not set and not available in docker build

Expected behavior

Docker build should be successful. The batch file should run and set enviornment variables. The enviornment variables should be available throught the docker build. The enviornment variables should be accessible for all the command instructions in docker build.

The enviornmentvariables set in this command RUN ["C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat", "x86_amd64"] should be available to the other commands below during docker build
RUN [“C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat”, “x86_amd64”]
RUN qmake pam.pro -spec win32-msvc “CONFIG+=debug” “CONFIG+=qml_debug”
RUN C:\Qt\Tools\QtCreator\bin\jom.exe qmake_all
RUN C:\Qt\Tools\QtCreator\bin\jom.exe

Actual behavior

When I run docker build, I dont see any enviornment variables set by the batch file.
RUN ["C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat", "x86_amd64"]
RUN ["cmd", "/c", "set"]
#The shell form shows error near Program Files (x86) as there is white space
#RUN C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat x86

Information

WORKDIR C:\app
RUN [“C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat”, “x86_amd64”]
RUN [“cmd”, “/c”, “set”]
RUN qmake pam.pro -spec win32-msvc “CONFIG+=debug” “CONFIG+=qml_debug”
RUN C:\Qt\Tools\QtCreator\bin\jom.exe qmake_all
RUN C:\Qt\Tools\QtCreator\bin\jom.exe