title: Programmatically move files after virus scan
body: <p>Is it possible to move files programmatically based on virus scan status?</p>
  
  <p>What I want to do is have a set of folders:</p>
  
  <p>Incoming
  Scanned
  Scanned/Clean
  Scanned/Infected
  Not Scanned</p>
  
  <p>Files would be dropped into the Incoming folder.  At that point, I would like to kick off the antivirus and scan the files in the Incoming folder.  Once complete, the files would then need to be moved to the appropriate folder, either Clean or Infected.  If, for whatever reason, the file could not be scanned or had trouble scanning, it would be moved to the Not Scanned folder.</p>
  
  <p>I was hoping there would be a way to script this out.  Has anyone ever done anything like this before?</p>