개발자료/Delphi

델파이API 파일 이동, 삭제, 복사

구룡포과메기 2013. 10. 16. 16:47

* 이동

MoveFile(PChar('C:\test.txt'), PChar('D:\test_copy.txt'));

* 삭제

DeleteFile(PChar('C:\test.txt'));

* 복사

CopyFile(PChar('C:\test.txt'), PChar('D:\test_move.txt'), False);

False : overwrite