|
COPYName:
where <file1> is the name of the file to be copied; and <file2> is the name of the file to be copied to. This syntax copies all lines in <file1> to <file2>
FOR I = <start> <inc> <stop> where <file1> is the name of the file to be copied; <file2> is the name of the file to be copied to; <start> specifies the first line in <file1> to copy; <inc> specifies the increment between lines in <file1> to copy (this is almost always 1); and <stop> specifies the last row in <file1> to copy. This syntax is useful for copying selected parts of a file.
where <file1> is the name of the file to be copied; and <file2> is the name of the file to be copied to. This syntax specifies that an operating system command should be used to perform the copy. Specifically, on Linux/Unix and MacOS platforms the "cp" command will be used and on Windows platforms the "COPY" command will be used.
COPY PLOTCALIB.DAT TEMP.DAT FOR I = 1 1 40 COPY SYSTEM PLOTCALIB.DAT TEMP.DAT
The clipboard capability is currently (2019/03) only supported on Windows platforms. The clipboard capability is not supported for the COPY SYSTEM syntax.
2014/12: Allow copying to or from the clipboard. 2019/03: Added the COPY SYSTEM option
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 03/15/2019 |