1.

Solve : batch script Adding Ip adresses to hosts file?

Answer»

Quote from: plm on April 07, 2009, 04:11:07 AM

Hi CDO

I am about to make sure that some hundred monitored servers can send their SNMP TRAPS to some newly added monitoring servers during an upgrade. I have no intention of any malicious acts. I am a virgin into SCRIPTING so i thought that the experts on batch scripting on this site might be able to get me started.

best regards plm
since you have spoken , here's a link for your reference.Quote from: gh0std0g74 on April 07, 2009, 06:13:29 AM
come on, what are talking about?

I am talking about network-administration software.I see this as an excuse to get post-count up.

Carbon SAID that the code that we could have given could have been used for malicous purposes. It may not be the OP, but LIKE he said, this is a public forum. ANYONE could see/use it.

OP, if you are a sys admin, then you should at least have enough knowledge of computers to make your own easy way to do what you first posted.@plm, reply #30 is what you need to get you started. check it out and see if it works for you.
Or, if you have no restriction to download gawk for windows(see my sig)
Code: [Select]C:\test>gawk "1" file1.txt file2.txt
10.20.30.40
50.60.70.80
1.2.3.4
5.6.7.8


Discussion

No Comment Found