title: Batch File to Run Program for All Files in Directory
body: <p>I have a program that renames files and then moves them to another directory. This works great but I would like to automate the process using a batch script. I basically have a directory with video files (eg: test.avi or test.mkv). I want to open these files using the renaming tool (eg: rename.exe) and let it do it's thing.</p>
  
  <p>How would I go about writing a batch script to achieve this? Ideally I would like to scan the directory on an hourly basis for files and then open them using the program.</p>
  
  <p>Thanks for your help.</p>