I have a one line text file (it will always be just one line). For example:
helloworld.txt contains "hello world"
I want to read this into an environment variable via the command prompt.
so Set MyVar=somehow
reads helloworld.txt
Does anyone know how to do this?