|
CopyFile (FileSystemObject オブジェクト)
object.CopyFile from, to [,option]
引数
解説
ファイルをコピーします。 使用例
Set objFso = CreateObject("Scripting.FileSystemObject")
objFso.CopyFile "c:\test1.txt", "c:\test2.txt"
objFso.CopyFile "c:\*.txt", "c:\test\"
関連項目
Drives|BuildPath|CopyFolder|CreateFolder|CreateTextFile|DeleteFile|DeleteFolder|DriveExists| |
WSHリファレンス
FileSystemObject オブジェクト Drive オブジェクト Folder オブジェクト File オブジェクト Drives コレクション Folders コレクション Files コレクション |