Copy file
From CometWiki
(Difference between revisions)
Badge (Talk | contribs)
(New page: '''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 begin...)
Newer edit →
(New page: '''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 begin...)
Newer edit →
Revision as of 11:40, 13 June 2009
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.