Using netsh for IP config import/export
2 lines only: netsh -c interface dump > filename netsh -f filename Ref: http://www.alibutt.com/?p=250 Some more about netsh to read at http://www.builderau.com.au/program/windows/print.htm?TYPE=story&AT=339272916-339024644t-320000994c