Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
I have a text file that will have 2 entries per line. They are servername and a IP address. I would like to create a batch file that would parse each line in the text file to be fed into two variables (one for server name one for the ip address) and then feed these into netsh.
The text file would look like this: server1 10.0.0.1 server2 10.0.0.2 server3 10.0.0.3
The netsh command is: netsh wins server \\winsserv1 add name name=%var1% IP={%var2%}
Is there any way to create a batch file to do this?
Summary: Hello, I want to create an exe file from a batch file and 2 other exe file. How can I do this? I want it so that when I click the exe it runs the batch file and it can still do things with the other 2...
Summary: I have a device that outputs a 5 digit number to the serial port, waits 5 seconds and sends a cr/lf to the serial port. I want to take that number, call a batch file and pass that number to it as a p...
Summary: i created a batch file and i'm invoking three programs in it one by one. but when i click on batch file all three programs are running simultaneously.. so how to execute them one after the other.? ...