How to copy text to clipboard programmatically?

What tricks or utlilities ie. ctrl-A r-click copy exist to copy text from a text file to the clipboard purely at the XP command line?

  • Answer:

    in the command prompt window, right click. you will see a popup menu. select mark. the cursor will change and let you select any text in the command window. left click to highlight the text you want. right click when you are finished. now right click again and select paste and you'll be able to paste the text to the command line. if you want to paste from another program, just copy from that program by selecting the text, hitting Ctrl+C, then going to the command prompt window and right click -> paste. you can also hit the UP cursor to cycle through past commands you've issued.

wiki.answers.com Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.