Redirecting Command Line Output to the Clipboard

  • Section(s): Miscellaneous
  • Published on Aug 24, 2006.
  • Last Modified on Aug 24, 2006.
  • Last Modified by ChrisSanders.
  • Rated 4 out of 5 based on 18 votes.
Windows Server 2003 has a great feature which allows you to pipe output from the command line to the clipboard. Here is how to use it.

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.

About ChrisSanders

Chris Sanders is a network consultant for KeeFORCE, one of the most popular network consulting firms in western Kentucky. Chris is the author of the book Practical Packet Analysis as well as several technical articles. His personal website at www.chrissanders.org contains a great deal of information, articles, and guides related to network administration, network security, packet analysis, and general information technology.

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Firewall & VPN hardware solution?