I'm looking to batch download and name photos attached to different features in my data sets.
I've found the Esri documentation for batch downloading, but that doesn't provide an easy way of telling what photos came from which features.

I searched around and found this post on stackexchange, tweaked it to match my data (changing which column to look for names in), and ran it, but it only produces files without a named file extension.

I did find that I can open them with MS Paint, but how do I get them to be produced as JPGs?
Thanks!
Edit: So, I found a work around using the command prompter to just rename the extensions to jpgs, but I'd still like to have them be produced correctly to avoid that extra step.