Awesome. It works! It isn't grabbing the file extension though. The files are renamed and copied, just like you said, but no file extension at all. I am executing the script from the same directory the files are located in. Could that be the problem? Also, I changed the line
Code:
  
$files = dirplus("x:\","/a-d") to read
$files = dirplus("@SCRIPTDIR\","/a-d")


Was that right?