Posted: 9/15/2008 10:59:50 AM EDT
|
Any scripting guru's around? I'm trying to write a simple script that will do this... I have a list of servers server1 server2 server3 I want to pass those variables into the following command line cscript sydi-server_short.vbs -t[servername] -ew -d -o"c:\[servername.xml]" -u[servername]\Administrator -pbiscuit I have about 30 servers I want this to loop through. Is there an easy way in a DOS batch file to make server1,2,3, etc. a variable and pass it? |
and have in 'list.txt' the list of server names -----list.txt---- SERVER1 ---- EOF ---- |