Use LineCopy utility to copy portions of text files
in non-blocking mode.
LineCopy utility provides for Windows what head and tail utilities provide for Unix systems. Files are copied in shared read-write mode so that they can be accessible for read and update by other programs during LineCopy processing.
Download LineCopy.exe (16 KB).
The LineCopy utility can be used for the following text copy operations.
Here is description of the supported command line parameters:
Usage: LineCopy source destination [/M mode] [/S start-line] [/E end-line]
Command line parameters:
|source||Name of the source file|
|destination||Name of the destination file|
|/M mode||copy mode, one of the following: 1, 2, 3, 4, 5, 6
Mode 0: (default) copy entire file.
Mode 1: copy first start-line lines of a file. /S parameter must be specified.
Mode 2: copy last end-line lines of a file. /E parameter must be specified.
Mode 3: copy file skipping first start-line lines. /S parameter must be specified.
Mode 4: copy file skipping last end-line lines. /E parameter must be specified.
Mode 5: copy first start-line lines and last end-line lines skipping all lines in between. Both /S and /E parameters must be specified.
Mode 6: copy all lines between start-line and end-line lines. Both /S and /E parameters must be specified.
|/S start-line||starting line, the usage depends on the value of the Mode parameter.|
|/E end-line||ending-line, the usage depends on the value of the Mode parameter.|
Run LineCopy.exe without parameters from the DOS command prompt to see full description of the supported parameters.