C:UsersAdministrator>ipconfig -all >"D:ipconfig_all.txt"
这个命令把ipconfig -all的内容导出到"D:ipconfig_all.txt"的文件(要加引号)。