@VERINFO suggestion

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
If the language parameter to @VERINFO is -1, return the binary version number from the VS_FIXEDFILEINFO structure. Return it as four decimal numbers, separated by periods (not the current decimal char.)

C:\>echo %@verinfo[c:\Bin\TCmd24\tcc.exe]

C:\>echo %@verinfo[c:\Bin\TCmd24\tcc.exe,,-1]

C:\>echo %@verinfo[%@search[notepad.exe]]
6.1.7600.16385 (win7_rtm.090713-1255)

C:\>echo %@verinfo[%@search[notepad.exe],,-1]

C:\>echo %@verinfo[C:\Windows\RtlExUpd.dll]
1, 0, 2, 4

C:\>echo %@verinfo[C:\Windows\RtlExUpd.dll,,-1]


(I haven't seen anybody using Roman numerals yet, but it's probably only a matter of time....)
Similar threads
Thread starter Title Forum Replies Date
M Done Let %@VERINFO write information Suggestions 0
Charles Dye Done HASH suggestion for v27 Suggestions 6
Charles Dye Done ASSOCIATE suggestion for v27 Suggestions 1
D Suggestion: VIEW option to open VIEW over tab window but not keep it there Suggestions 0
Alpengreis Done Suggestion for full osbuild internal variable Suggestions 2
L Done Suggestion for TCC 'ver' command Suggestions 8
D Done Suggestion: Add VIEW option to open in same position as current window Suggestions 0
D Suggestion: Tab or button to open new tab window in horizontal group Suggestions 1
D Done Suggestion: keystroke to copy previous argument Suggestions 3
H Done DEDUPE suggestion Suggestions 8
C Done Help suggestion TCMD Suggestions 3
C Declined copy /w suggestion Suggestions 2
J Done Everything Search Suggestion Suggestions 8
Fross Done sendmail suggestion Suggestions 1
K_Meinhard Declined Renewed suggestion Suggestions 0
S Declined TAIL suggestion Suggestions 0
A Done Cosmetic suggestion on displaying version number Suggestions 0
M Done TC 11 suggestion Suggestions 0
G Done V11 Suggestion Suggestions 3
J Done Suggestion for V11 Suggestions 8
Charles Dye Done v11 suggestion: plugin online help interface Suggestions 0
D Done Suggestion for commands to move/copy a folder Suggestions 7
J Done Variable Name Completion Suggestion Suggestions 0
Charles Dye Done Startup Tabs / Tab Toolbar suggestion Suggestions 1

Similar threads