Link to home
Start Free TrialLog in
Avatar of skylarktech
skylarktechFlag for United States of America

asked on

IPCONFIG/all in CMD redirected to notepad?

how do i redirect the output of the command box when I use ipconfig/all to the notepad?
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of abuckheit
abuckheit



ipconfig /all > tmp.txt & call notepad tmp.txt & ping -n 1 -w 500 none303 & del tmp.txt

that will do it to a tmp file, open it in notepad, and delete the tempfile so u can use notepad to save it wherever

also, because it uses call notepad, the command window will not stay open until you close the notepad window, it will go away right away.
Avatar of skylarktech

ASKER

Thank you very much quick and easy I love it!!