Const OverwriteExisting = TRUE
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "C:\Source\Filename.txt" , "D:\destination\", OverwriteExisting
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "C:\Source\Filename.txt" , "D:\destination\", OverwriteExisting
No comments:
Post a Comment