Pages

Showing posts with label copy files using vbscript. Show all posts
Showing posts with label copy files using vbscript. Show all posts

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