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

Please support us!