Log FB version

Is there a way to retrieve and log the FinalBuilder version from within a project script? (e.g. 5.0.0.143)

Thanks.

A quick and dirty way would be to execute “C:\program files\Final Builder 5\fbcmd.exe” and redirect its output into a text file. You would get a lot of other crap, but the version number is up the top.

Maybe there are better ways :slight_smile:

Steve

That gave me an idea. There’s an action “Extract Version Info” I missed initially. I’m using this to retrieve the “FileVersion” attribute from FBCMD.EXE.

Thanks again.