I've been looking for the correct code for my batch file to start a program and open a file by extension only. I've been searching and all I can find is opening a file by filename only, without extension. I would like to do it the other way around. I've tried multiple
start "C:\program files\folder\program name.exe" d:\folder\filename.extension
I've found some answers for other programs and tried them but they didn't work. I've tried to replace filename by * but it didn't work as well.
The reason I'm asking is becasue the filename will change every buildnumber but the extension is unique in that folder. Hope you can help me out. Thanks