خانه > lang > copy 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar id vi ko ja ru zh zh_TW eo
قبلی  بعدی  ویرایش  تغییر نام  واگرد  Search  سرپرستی  
مستندات  
اخطار! این صفحه ترجمه نشده است.  مشاهده نسخه انگلیسی 
COPY
COPY SourcePath TO DestinationPath

Copies a file from SourcePath to DestinationPath.

The destination path does not need to have the same name as the source path.

Note that you cannot copy directories recursively with this function.

مثال

' Save the gambas configuration file
COPY User.Home &/ ".config/gambas/gambas.conf" TO "/mnt/save/gambas.conf.save"

خطاها

پیامتوضیحات
File already exists (38) The destination file already exists.

This instruction internally uses the functions OPEN, READ, WRITE and CLOSE. So it can raise any of their errors.

همچنین مشاهده کنید

توابع فایل و پوشه, OPEN, READ, WRITE, CLOSE