Code: Select all
Let>OUTPUT_file=%SCRIPT_DIR%\env.txt
Let>BATCH_file=%SCRIPT_DIR%\env.bat
Let>BATCH_code=set > "%OUTPUT_file%"
DeleteFile>BATCH_file
DeleteFile>OUTPUT_file
WriteLn>BATCH_file,,BATCH_code
ExecuteFile>%BATCH_file%
Now run the env.bat file manually by clicking on it in the Windows Explorer. Copy the contents to the second field and do the compare.
I have these differences:
Code: Select all
Running as "myself":
CommonProgramFiles=C:\Program Files\Common Files
PROCESSOR_ARCHITECTURE=AMD64
ProgramFiles=C:\Program Files
Macro Scheduler:
CommonProgramFiles=C:\Program Files (x86)\Common Files
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
ProgramFiles=C:\Program Files (x86)