Possible Duplicates:
Command line tool to dump Windows DLL version?
How do I retrieve the version of a file from a batch file on Windows Vista?
Is it possible to get the file version of a dll or exe file using batch commands and store it in a variable?