What are you trying to do exactly? I'm thinking it might be tremendously easier to do with something other than piping a .txt into a .bat.