I am using a tool that generates an .apk file which I wish to automatically install and launch. I created an extremely simple batch script for this, however the filename of the .apk file changes based on the version number, so I am forced to change my .bat file during every version change.
How can I select the most recently modified file in a .bat script?