hai provato mettendo il comando
WINIPCFG > nome_file.txt
dentro un file batch?