In the spirit of the old "touch" application, which allowed you a command line interface to set the date/time stamp of the file to a specific value, I am now releasing
"bump". It's a utility that allows you to set version information on files. Some may argue that this isn't a good idea, but you could make the same argument for countless other utilities, too. Besides, you can already do this by jumping through more hoops if you use a resource editor. Basically, if you know what you're doing, and you need this functionality, now you have it. In the initial release, you can get help on the syntax by just typing the command "bump". The syntax for a bump command looks like this:
bump filename.exe
This will increment the build portion of the file version information for that file by 1. If you don't have versioin information for that file, it won't work. However, you can also use this syntax to either create version information, or set existing version information to a specific value:
bump filename.exe 1.2.3.4
The version string requires all 4 values to be set (major, minor, release, and build).
I'd like to thank Colin Wilson, since I used some of his code to create this utility. I sent my changes back on to him, so hopefully, he'll find those useful.
My wishlist of features coming up for this utility (some are already started, or in various states of undone):
- Support RES files
- Allow for a "touch" option to be integrated into this utility
- Allow for batch file processing
- Allow for string values to be passed into this utility
- Finish the GUI version
- Finish the COM version
- Finish the FinalBuilder version (I am currently using the console version inside FB within a List Iterator and it works awesome!)
Leave a comment here if you find it useful.