User`s guide
If a directory is specified as a destination, then a file with the same name as the source file will be created.
If only a directory is specified as a source, then all files in the directory will be copied. For a DOS to
LIF file copy, the file will be converted to either ASCII or BDAT automatically if no format conversion is
specified (/A, /B, or /R).
If the first 80 characters of the DOS file contain only printable ASCII characters (or tab, carriage return,
or line feed), then the file will be converted to LIF ASCII, otherwise it will be converted to LIF BDAT.
The file may be forced to be converted to LIF ASCII with the ASCII option (/A). A file may be forced to
be converted to BDAT format by specifying the BDAT option (/B) and a raw copy (no conversions) can
be specified with the raw option (/R).
DOS file
LIF file
BINARY (no option) becomes BDAT
ASCII (no option) becomes ASCII
BINARY (with /A
option)
becomes ASCII
ASCII (with /B option) becomes BDAT
LIF file
DOS file
BDAT becomes BINARY
ASCII becomes ASCII
Caution If the input file is ASCII for a DOS to LIF copy, the input lines will be truncated to the
value set by /S option (default is 256 characters). If truncations occurs, the following
message will appear:
Line “X” truncates from “m” to “n” characters.
where ‘’X’’ is the line that was truncated, ‘’m’’ is the original line length, and ‘’n’’ is
the truncated line length.
Use the /S option to increase the maximum input line length. Note that the /S option does not need to be
specified for LIF to LIF or LIF to DOS file copies.
For a LIF to LIF copy, all files are copied as is (no conversion) with the destination file created with the
same file type as the source file.
Multiple files may be copied if the source file specification is a directory or the wildcards ‘’*’’ (match 0
or more of any character) or ‘’?’’ (match 1 occurrence of any character) are used. In this case, the
destination file specification should also be a directory or contain matching wildcards. Each file will be
copied to this directory. If the destination is not a directory and doesn’t contain wildcards, then all files
will be copied to the same destination file (not appended). This is only useful to copy files to your screen
or to a printer, as LIF CP will not write to an existing file (except CON or PRN devices).
File System Conversion (LIF/DOS)
LIF CP
3-12