Curtis:
I think my original post might be a bit misleading. The variables I am trying to pass into the bat file are the location of the the python script and the location of the log file generated from the bat file. When I ran bat files as Scheduled Tasks in Windows Server 2003, I only needed to provide the name of the python script and log file because it understood it was a path relative to the location of the bat file. Now on Windows Server 2008, the bat file never calls the python script or log file unless I supply the entire path to these files. I want to store these paths in a text file to simplify the update of my system and the scripts that are used. I have 2 reasons for this. I can have multiple scripts that need the same python scripts, so I can use the text file to supply this information to all bat files. In addition, if the location changes or this bat file is used on a different server, I only need to make the change in the text file and not each bat file. I hope this clears up why I want to be able to read in information from a txt file in a bat file.