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.
Whether it is to solve connection problems, access blocked content or avoid possible traces of our Internet activity, many of us wonder how to see the IP address of our PC or router at home and, ...