Is there a way to access environment variables from within a LaTeX document? Suppose I define a variable in a batch file:
set MY_VAR=HelloWorld
How can I programmatically print the string "HelloWorld" inside my LaTeX document, without resorting to creating a new source document with the string in it?