Sorry, I am not understanding. If I am having the bat file my_env.bat which have the value
"set MY_HOME=C:\sowndar
set VAR1=12".
Does the perl will call some this like this,
cmd /c "my_env.bat";
print $ENV{MY_HOME}."\n". $ENV{VAR1}; # Will this give proper value