title: Use Applescript (Mavericks) to move files
body: <p>I've checked the previous answers to similar questions in Stackoverflow and there seems to be a problem even with the most basic sentence that uses the move function. In my case, I'm using the following script.</p>
  
  <pre><code>set theFile to "Macintosh HD/Users/sergioguerra1/Downloads/Reporte General.csv"
  set theFolder to "Macintosh HD/Users/sergioguerra1/Desktop/Detektor/Etapa II/"
  
  tell application "Finder"
      move file theFile to folder theFolder with replacing
  end tell 
  </code></pre>
  
  <p>And I got the following error: </p>
  
  <p>"error "Finder got an error: Can’t get file \"Macintosh HD/Users/sergioguerra1/Downloads/Reporte General.csv\"." number -1728 from file "Macintosh HD/Users/sergioguerra1/Downloads/Reporte General.csv""</p>
  
  <p>I changed the script a little bit</p>
  
  <pre><code>tell application "Finder"
      move theFile to theFolder with replacing
  end tell 
  </code></pre>
  
  <p>And I got a different error </p>
  
  <p>"error "Finder got an error: AppleEvent handler failed." number -10000"</p>
  
  <p>This is a very simple code, but isn't working. Can anyone find the error? Is it something with Mavericks?</p>