Including a bat file in a bat file

I have many bat files that share a common setup of variables. Instead of defining the same variables over and over again (and making errors in the process) I would like to include one bat file in all the others.

How do I do this? Excuse my newbie question but the last time I touched bat, it was a file called autoexec.bat, long ago...

Thanks!


Solution 1:

You can call another bat file with "call FILENAME". Don't really know if that is sufficient for you.