Gentee Programming Language > Documentation > Libraries | Download documentation |
Copying files and directories by mask.
uint copyfiles( str src, str destdir, uint flag, uint mode, uint proccess )
src The names of mask of the files or directories being copied. destdir The directory where files will be copied. flag The combination of search flags $FIND and $COPYF_RO Overwrite files with the attribute read-only. $COPYF_SAVEPATH Keep relative paths while copying files from subdirectories $COPYF_ASK Prompt before copying files already existing. mode What to do if the file being copied already exists. $COPY_OVER Overwrite $COPY_SKIP Skip $COPY_NEWER Overwrite if newer $COPY_MODIFIED Overwrite if modified proccess The identifier of the function handling messages.
The function returns 1 if the copy operation is successful, otherwise it returns 0.
See alsoFunction working with files The handler of copyfiles messages
![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |