PDA

View Full Version : Cmd.exe


msh1
06-20-2002, 04:13 PM
I want to copy text from the command.exe utility in windows xp to notepad or something similiar does anyone know how to do this?
The reason I am doing this is when using the ipconfig /all I would like to keep the information on a txt file.

Thanks

Ghost_Hacker
06-20-2002, 08:10 PM
Use redirection.
example:

ipconfig /all > ipinfo.txt


A file called ipinfo.txt will then be created in the "C" drive or whereever your command prompt is placed at the time you run the command. The file will contain the output of the command.



[This message has been edited by Ghost_Hacker (edited 06-20-2002).]

hsafra
06-21-2002, 08:29 AM
Right click on the title bar, chose edit, mark. Drag the mouse over what you want to copy and then press enter. The text will be in the clipboard.