AppCtrlScript

MAY Computer

Help

CONCATFILES

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

File

See also  

FILECOPY

Concates two files together where <FileToAppend> is the full name of the file that is appended to the file <SrcDstFile>. If <SrcDstFile> does not exist it will be created and the function acts like a simple filecopy.

<MaxBufferSize> is the size in bytes that should be read at once when appending the file. If the buffer size is bigger than the copy process will be quicklier but with the price of needing more memory (temporary when the function is used). The default is 10000000 which is approximately 10 MB. Normally you need not to change this. Files that are smaller than this size are read and written at once.

Syntax

CONCATFILES <SrcDstFile>, <FileToAppend>[,   <MaxBufferSize>] 

Part

Description

<SrcDstFile> Source and destination file. This is the file where the result is stored into.
<FileToAppend> The second file that is appended to the source file.
<MaxBufferSize> Maximum number of bytes to copy at once. The default is 10000000 which is approximately 10 MB.