Small program for EXE-file version detection. It receives filename from command line and put the number of it version to standard output. It can be used for build process automation. For example we use it to create archive of program with number of this program in archive name right after build.
mito_exe_version.exe path_to_file [output_prefix]
Command-line usage example:
D:\temp> mito_exe_version.exe MiToDirChangesWatcher.exe 188.8.131.52 D:\temp> mito_exe_version.exe MiToDirChangesWatcher.exe "This is version " This is version 184.108.40.206
BAT-file usage example for archive building with version number in filename:
@echo off rem Setting %S_VERSION% environment variable FOR /F "usebackq" %%i IN (`mito_exe_version.exe MiToDirChangesWatcher.exe`) DO SET S_VERSION=%%i rem Show version echo Current version is %S_VERSION% rem Create archive with version number and date in filename "C:\Program Files\7-Zip\7z.exe" a -mx=9 MiToDirChangesWatcher_%S_VERSION%_.7z MiToDirChangesWatcher.exe
There is no separate category for this program in Support because it too small. Please mail to email@example.com if you have any questions or suggestions.
- Download (zipped)