title: How to move multiple files using vb.net
body: <p>Is it possible to move all files/folders in one directory that contain some words and move them to another?  So for example all files/folders called 'Testing this' and moving them to another folder?  I try the following but its not working?  The words 'testing this' could be shown anywhere in the file name.</p>
  
  <pre><code>   Dim directory = "C:\Test\"
          For Each filename As String In IO.Directory.GetFiles(directory, "testing this", IO.SearchOption.AllDirectories)
              My.Computer.FileSystem.MoveFile(filename, "C:\Test\Old\" &amp; "testing this")
          Next
  </code></pre>