Copy file

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(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...)
 
Line 12: Line 12:
   
   
-
'''Discussion:'''
+
'''Discussion:'''<br>
This pseudo function copies a file via DOS, providing a quick copy. <br>
This pseudo function copies a file via DOS, providing a quick copy. <br>
The copying can start at the beginning of the source file or from the current location in the file. <br>
The copying can start at the beginning of the source file or from the current location in the file. <br>
The source file can be copied, merged, or appended to the target file.
The source file can be copied, merged, or appended to the target file.

Latest 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.

Personal tools