You often give tips and suggestions on an online forum for which you occasionally copy long listings or system information from the Command Prompt. This involves quite an effort.

Name:  Sending text from a Command Prompt window.jpg
Views: 72
Size:  29.6 KB

The best way to copy single lines is by using the mouse. To do this, right¬click in the window and select the 'Mark' context command. Now select the area by dragging the cursor from beginning to end, and copy it using the [Ctrl]+[C] key combination or the 'Copy' context command. It is better to use 'clip.exe' for longer listings. This tool is integrated in Vista and runs directly in the Command Prompt window. Link the program using the pipe symbol 'I' to the desired command from the command line.

You can access the pipe symbol with '[Shift]+[\]'. For example, type the command 'dir I clip' and press enter. This command will copy a directory listing or the specified folder to the clipboard. Even entire file contents can be copied. For example, you can export the contents of a text file 'abc. tx!' to the clip board using the command 'type abc. txt I clip'. However, you could also use the 'Less than' sign for that. For example, 'Clip<readme. txt' copies the contents of the 'readme.tx!' file to the clipboard. Finally, you can copy the contents to any application or the Command Prompt itself using the Paste context command.