willfindaway
MIS
I am new to VBScript and I was task to create a VBScript that would read a list of (.txt)files in folderA and to copy all files with a matching string to a new folder like folderB
Thanks for your help in this regard...
my current code only copy files from one folder to the next
my code is below:
Option Explicit
dim kfso
Set kfso=CreateObject("Scripting.FileSystemObject")
kfso.CopyFile "c:\backup\test01\*.txt", "c:\backup\test02\report\"
Thanks for your help in this regard...
my current code only copy files from one folder to the next
my code is below:
Option Explicit
dim kfso
Set kfso=CreateObject("Scripting.FileSystemObject")
kfso.CopyFile "c:\backup\test01\*.txt", "c:\backup\test02\report\"