Solved get computer name and ip using batch

April 30, 2012 at 07:14:18
Specs: Linux zbov
can you help me make a script that would get computer name and ip address silently and put it into a text file??

pls answer this. i posted many questions here but giot no answer. so pls answer this one


See More: get computer name and ip using batch

Report •

#1
May 2, 2012 at 02:14:58
✔ Best Answer
Hi,
This will do it.

ipconfig >ipadd.txt

Will create a file named "ipadd.txt" with the ipaddress on line 2 of the file.

Rgds.
George.


Report •
Related Solutions


Ask Question