FileCopy Statement

kopije fajla.

Sintaksa:


FileCopy TextFrom As String, TextTo As String

Parametri:

TextFrom: Bilo koji znakovni izraz koji oznacava ime fajla koji zelite kopirati. Izraz moze sadrzavati neobaveznu putanju i informaciju o drajvu. Ako zelite mozete unijeti putanju u URL notation.

TextTo: Any string expression that specifies where you want to copy the source file to. The expression can contain the destination drive, the path, and file name, or the path in URL notation.

Note Icon

Mozete koristiti samo FileCopy izjavu za kopiranje fajlova koji nisu otvoreni.


Error codes:

5 Invalid procedure call

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err76 not found).

Primjer:


Sub ExampleFileCopy
    FileCopy "c:\autoexec.bat", "c:\Temp\Autoexec.sav"
End Sub

Please support us!