Code to search certain files without using the dialog box

I'm wondering if there's an option to create a button with code to seek out certain files on the computer without calling up the search dialog box?

Something like....FIND *.png COPY MOVE to "c:\backup"

You could use the QUIET option: this option starts the Find in quiet mode, without displaying the Find dialog.

If the aim is to copy or move the matching files then you can use a Copy Filter for that.