What you need to do is probably have a flat text file containing all hostnames on the network like so:
computer1
computer2
computer3
so on so on...
The problem is that I could never get batch to read in the text file and assign each hostname as a varible. So, I learned Perl which I am able to do that. If you are insterested I can help you write the script, which is a ten minute process, and install Perl on your machine. Perl is also free. Just let me know. This will be easy for Perl...