How to copy a file from an ATEasy application

Knowledge Base Article # Q200034

Read Prior Article Read Next Article
Summary The following must be copied into your text file Libraries section.
  
Login to rate article
Solution:

ATEasy 6.x and above have a FileCopy() function that can be used to copy file. The following provides a way to copy a file using ATEasy 3.x-5.x:

Copy the following to your text file Libraries section:

DLL Kernel32
--------------------------------------------------------------------------------
File = Kernel32.dll

DLL Types
--------------------------------------------------------------------------------

DLL Procedures
--------------------------------------------------------------------------------

Procedure CopyFile(sExitingFileName, sNewFileName, bFaiIfExist): Bool
--------------------------------------------------------------------------------
sExitingFileName: Val String
sNewFileName: Val String
bFaiIfExist: Val Bool

Article Date 9/25/2002
Keywords ATEasy, FileCopy


Login to rate article

Read Prior Article Read Next Article
>