Click here to Skip to main content
15,895,011 members
Articles / Desktop Programming / Win32

Simple Version Resource Tool for Windows

Rate me:
Please Sign up or sign in to vote.
4.83/5 (65 votes)
3 Sep 2012CPOL9 min read 372K   27.4K   169  
A utility for creating version info on executable files without Resource Compiler
verpatch r3 (2009/06/17)
Usage: verpatch filename [version] [/options]

Options:

 /s name "value" - add/replace any version resource string
 /sc "comment" - add Comments string (same as /s comment "comment")
 /va - create the version resource (use when the file has no version info)
 /pv <version> - specify Product version
 /fn - preserve Original filename, Internal name in the file version info
 /vo - output the file version info in RC format
 /xi - test mode, does not modify the file
 /vft2 num - specify driver type (VFT2_xxx values defined in winver.h)
 /rpdb - remove path to .pdb in debug information
 /rf #hex-id file - add a resource from file (see readme)


Examples:
  verpatch d:\foo.dll 1.2.33.44 /sc "holy cow, it works!"
  verpatch d:\foo_new.sys "33.44 released on %date%" /fn
  verpatch d:\foo.exe /va 1.2.3.4
  verpatch d:\foo.exe 1.2.3.4 /rf #9 embedded-driver.sys

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions