FileCopy Statement

Copies a file.

தொடரமைப்பு:


FileCopy TextFrom As String, TextTo As String

அளவுருக்கள்:

TextFrom: Any string expression that specifies the name of the file that you want to copy. The expression can contain optional path and drive information. If you want, you can enter a path in 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

You can only use the FileCopy statement to copy files that are not opened.


பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

76 பாதை கிடைக்கவில்லை

எடுத்துக்காட்டு:


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

Please support us!