On Linux, it is a simple matter to get the local ip address with system.os("ifconfig >> /tmp/ip"); ip=open("/tmp/ip").readlines(), etc. How can I do this with Windows?