I have a batch file from a vendor to patch some software on a Vista machine. I'm going to be using GPO to push it out as a startup script.
My problem is some systems require this software and some don't.
I'd like to add code to the beginning of the script to look for the existence of an exe, and pull the string that's viewable if you right click the exe, details tab, "Product version" field.
Please suggest other solutions as comments. I know about other ways to handle this and have a couple lined up. I'm open to suggestions but would prefer all answers be to this specific question. Can it be done, if yes, how?
Thanks! -Mathew