Contents

# FileCopy Statement

파일을 복사합니다.

## 구문:

    FileCopy Source As String, Destination As String

## 매개 변수:

Source: 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.

Destination: 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.

열지 않은 파일만 FileCopy 문을 사용하여 복사할 수 있습니다.

### Error codes:

5 잘못된 프로시저 호출입니다.

76 경로를 찾을 수 없습니다.

## 예:

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