Monday, November 27, 2017

DELPHI - How copy file

First parameter is source file, second parameter is target location.
_sFileName : string
..
copyfile( PChar( _sFileName ), PChar( IncludeTrailingPathDelimiter( EPath.Text ) + 
          ExtractFileName( _sFileName ) ), false );

No comments:

Post a Comment