Thursday, 2 August 2012

Copying a Set of Files - VBScript



Const OverwriteExisting = True
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "C:\FSO\*.txt" , "D:\Archive\" , OverwriteExisting

No comments:

Post a Comment