Can one bat file be included in another? I have variables set in one bat file and want to include the other commands by calling a second bat file. I know about the call command. Is there an include command that is saying execute the remainder of the bat file from what is contained in that second bat file?
Share
If you have a file variablefile.bat along the lines of
then you can add the line
to another file to import the variables. You can access the variables as usual.