Copy files  

Send By: Q3 Team
Web : www.q3.nu
Email: dlib@q3.nu
Date: 21/10/99

Tip accessed 709 times

 


With CopyFile:



 	if NOT
 	CopyFile(PChar('c:\fichero\origen.xxx'),PChar('c:\fichero\destino.xxx'),FALSE) then
 	  MessageDlg('No he podido copiar el fichero', mtWarning, [mbOk], 0);



The last parameter (FALSE in the example), is if you want error if the destination file exists


Updated at 21/10/99
Missing one ')'...