Compiling multiple LaTeX files in Windows
I have a folder with many LaTeX files that all use the same custom LaTeX class. Now I want to recompile all of these LaTeX files. They are aranged in separate folders with the same name for the main files as the folder, e.g., foo0001/foo0001.tex, foo0002/foo0002.tex. Is there a way, using a Windows bat script, to compile/build all these documents?
Well, you could just loop over them:
for /r %%x in (*.tex) do pdflatex "%%x"