This repository has been archived by the owner on Oct 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
usage.txt
30 lines (28 loc) · 1.47 KB
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
verpatch 1.0.15.1 (Oct 2016)
Usage: verpatch filename [version] [/options]
Options:
/va - create the version resource. Use when the file has no version info.
/s name "value" - add or replace any version resource string.
name: standard or custom attribute name. See below.
/pv <version> - specify Product version
/prodver, /productversion - same as /pv
/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 (one of VFT2_ values defined in winver.h)
/rpdb - remove path to .pdb in debug information
/rf #hex-id file - add a raw binary resource from file (see the readme)
/noed - discard any extra data appended at the end of file
/sc "comment" - same as /s comment "comment string"
/langid <number> - language id for new version resource; use with /va. Default=LN.
/high - interpret less than 4 version parts as higher numbers
Examples:
verpatch d:\foo.exe /va 1.2.3.4 /s desc "my program"
verpatch d:\foo.dll 1.2.33.44 /s comment "fixed this and that"
verpatch d:\foo.dll "33.44 release"
verpatch d:\foo.dll /high 1.2.33-beta5
verpatch d:\foo.exe 1.2.3.4 /rf #9 embedded.dll
Alternative attribute names to use with /s (see documentation for details):
comment company description|desc InternalName|title
copyright|(c) LegalTrademarks|tm|(tm) ProductName|product
PrivateBuild|private|pb SpecialBuild|build|sb