I have tried to google for this but cant find anything that explains it well enough for me to grasp (im a noob).
Very simply i want to create a batch file that will ping an ip one time and then save that result to a text file, without overwriting the text file. I then want it to email the entire contents of that text file to a named reciepient.
So the script and file (ip.txt) are both on the same windows 7 machine.
When ive seen code for email part i have never understood where the server login details goes as it doesnt seem to be in the code.
tx for any help.