Dim directory as System.IO.DirectoryInfo = new System.IO.DirectoryInfo("c:\\source")
If Not directory.Exists then
throw new Exception(String.Format("Source directory ({0}) does not exist.", directory.FullName))
For Each file As System.IO.FileInfo In directory.GetFiles("invoices_*.txt")
file.MoveTo(String.Format("c:\\process\\{0}", file.Name))