When running in DOS, some environment variables are cleared, but the new program can still see them
Problems Please check the following commands and their outputs! D:tmp>@echo off //// command 1 for /f “tokens=1,* delims==” %f in (‘set’) do set %f= //// command 2 set //// command 3 for /f “tokens=1,* delims==” %f in (‘set’) do echo %f COMSPEC CONDA_BAT CONDA_EXE CONDA_SHLVL PATH PATHEXT PROMPT Command 1 is to unset all the […]