Hi, I need to write a batch program that can get the version number of an .exe, and then send that version value (by itself) to a .txt file. I understand how to echo text to files, my problem is just assigning the version number to a variable.
Getting the version of an executable is not a simple thing. I believe you will need a third party program to obtain this on the command line.
I see, thanks anyways. I'll keep looking for alternatives, I just need to get the version number to a .txt file. I could edit the source code of the exe to make a .txt file with the version, but I was thinking .bat would do a cleaner simpler job at it.
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |