If I understand you, this may be in line with what you are looking for. We can use the FOR command to look for any files that match a pattern, and then process each one (I think in your case you are only expecting one). So the code looks like the attached.
The loop variable %%A will take on the full value of any file that matches "%FolderPath%\%Track%.*.%Extension%".
~bp