title: Read filenames in a directory with AutoHotkey
body: <p>I am looking for a way to read a folder and save each filename to a variable. So far this is what I have</p>
  
  <pre><code>Loop,C:\My Documents\Notes\*
  </code></pre>
  
  <p>In my notes directory I have pdf files. I want to read the directory and save the filename  "Homework1.pdf" to a variable then move the file itself to another directory. On the next loop it will pick up the next pdf document "Test.pdf" etc. This should loop until every pdf has been moved.</p>
  
  <p>I know I could use FileMove but the samples show that you have to provide the specific filename to move. How can I adjust this to move each pdf file one by one?</p>