Ipconfig.txt file

  • Thread starter Thread starter Terry T
  • Start date Start date
T

Terry T

Hello,

I am trying to create a text file showing the IP
configuration data on my XP Home machine.

I run "ipconfig /all c:\ipconfig.txt" without the "".

This fails.

Any suggestions?

Terry
 
Why would you type that. ipconfig /? shows no command to write to file. You can use generic redirection

ipconfig /all >c:\ipconfig.txt

or to put on desktop
ipconfig /all >"%userprofile%\desktop\ipconfig.txt" (with the quotes)
 
just run ipconfig as usual, then right click on command
prompt window and select "mark". highlight text you want
and press enter to copy to clipboard
 
Enoch said:
just run ipconfig as usual, then right click on command
prompt window and select "mark". highlight text you want
and press enter to copy to clipboard


Is this for a script?
 
Terry said:
I am trying to create a text file showing the IP
configuration data on my XP Home machine.

I run "ipconfig /all c:\ipconfig.txt" without the "".

Use
ipconfig /all >c:\ipconfig.txt


The > is the 'redirector' that sends the output from what went before on
the line to the alternative destination named
 
Back
Top