Change the application that is used to open .pro files to your bat file. (Right click, Properties, Opens With)

To get the filename clicked on from your bat file use %1

Eg.

echo %1