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?
LVL 2
skylarktechAsked:
Who is Participating?
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
ipconfig /all > a.txt & notepad a.TXT
0
 
abuckheitCommented:


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.
0
 
skylarktechAuthor Commented:
Thank you very much quick and easy I love it!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.