Redirecting Command Line Output to the Clipboard
Windows Server 2003 has a great feature which allows you to pipe output from the command line (cmd.exe) to the system clipboard very easily. By appending “| clip” to the end of your command the output will be copied to your clipboard. You can then paste it into notepad or any other text editor just like anything else on the clipboard.
This functionality is not available by default in Windows XP; however you can make it available by copying the clip.exe file from the system32 folder in your system directory on Windows Server 2003 and pasting it on top of the existing clip.exe file on your Windows XP installation.
Chris Sanders is the network administrator for one of the largest public school systems in the state of Kentucky. Chris's specialties include general network administration, windows server 2003, wireless networking, and security. You can view Chris' personal website at www.chrissanders.org.