Moving files from folder to folder

I am a complete newbie to any kind of programming.

I would like to move all MS Excel files in the downloads folder to a desktop folder named “IBD Screens”

How do I do this?

Thanks,

Dave

Hi,

assuming the destination folder on desktop exists, try this


set downloadsFolder to path to downloads folder
tell application "Finder"
	move (files of downloadsFolder whose name extension is in {"xls", "xlsx"}) to folder "IBD Screens"
end tell