Is there an equivalent source command in Windows CMD as in bash or tcsh?

In the usual Windows command prompt (i.e. cmd.exe), just using call mybat.bat did what I wanted. I got all the environment variables it had set.

Leave a Comment