IntroductionMTB StatementsFile SystemCompilerApplicationsReference GuideIndex

DOS pseudo functions: Copy a file

Syntax: DOSMS(AX-value, BX-value, CX-value, DX-value) EXCP=statement-label
Entry:
  AX = "@FFFA@"
  BX =    0 (copy from the beginning of the file), or
          1 (copy from the current location in the file)
  CX = the source file handle
  DX = the target file handle
Discussion: This pseudo function copies a file via DOS, providing a quick copy. The copying can start at the beginning of the source file or from the current location in the file. The source file can be copied, merged, or appended to the target file.


DOS pseudo functions