5

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!

raoulsson
  • 4,763
  • 10
  • 34
  • 29

1 Answers1

8

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

StampedeXV
  • 321
  • 1
  • 6