Download Latest Version concpy_v1.1_x86.zip (6.9 kB)
Email in envelope

Get an email when there's a new version of CONCPY

Home
Name Modified Size InfoDownloads / Week
src 2019-03-11
bin 2019-03-10
readme.txt 2019-03-10 1.4 kB
Totals: 3 Items   1.4 kB 0
Copies console content and writes it to the clipboard or a file.

 Syntax:
CONCPY ["outfile.txt" [/a] [/-c]]
  outfile  name of the file where the console content shall be written
  /a       append to an existing file
  /-c      omit copying to the clipboard
NOTE The content written into a file will always be UTF-16 LE.
If called without file name passed, the content will be copied to the clipboard only.

Return values:
  0        content successfully copied
  1        an error occurred while copying to the clipboard or file
  2        a fatal error occurred, no data copied



CONCPY copies the text of the console window as displayed. That is, long lines that are wrapped at the right edge of the window will be wrapped in the copied text, too. Tab stop characters are replaced with spaces like in the console window. Trailing whitespaces are stripped. The tool copies the content between the beginning of the window buffer (top left corner) and the current position of the text cursor.



Example command lines

- copy the console content to the clipboard:
CONCPY

- copy the console content to both the clipboard and a text file:
CONCPY "outfile.txt"

- copy the console content to the text file only:
CONCPY "outfile.txt" /-c

- copy the console content to the clipboard and append it to a text file:
CONCPY "outfile.txt" /a
Source: readme.txt, updated 2019-03-10