I have a program that copies files in a directory and saves them into a backup folder. There are multiple files that the program (the program that creates the files I backup) makes when they save. I need to be able to access all of the files to copy... They enter the name of the save...and that can be used to get the files names...but not the extension.

How would i make the filecopy function copy their text (for the files names) and make it copy all extensions that share the same name?

FileCopy "C:\Windows\Filesname.*", "D:\backup\Filesname.*"

Would something like that work?