WAD Windows 10 - ver command

May 20, 2008


Aug 3, 2015
GetVersionEx has been broken by design since 8.1 was released as it now reports looks at the manifest and returns the highest supported os in your application, or Windows 8 if none are supported.


You can either add every <supportedOS> tags to your manifest, or use something like https://bitbucket.org/AnyCPU/findversion/src

I'd go for the former as I believe you then get the latest functionality from all API's, but you'd need to test to make sure nothing is broken.

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
Flashing back to MS-DOS, which had an API to report the DOS version... and a device driver to lie about the DOS version... and another API to report the real DOS version; and of course DR-DOS had its own DOS-version API, because it pretended to be PC DOS on both the documented APIs. Wheel turnin' round and round, you go back, Jack, do it again....


Aug 3, 2015
At least this time round there isn't one single list of programs and version numbers to lie about, if you setup your application manifest correctly then windows will report the correct version to you. If you haven't released a windows 10 compatible version of your application then lying to you and pretending to be a version of windows that you do support seems like a reasonable compromise.

My OCD side thinks it shouldn't lie, but I understand the practical reason for doing it and putting in a ReallyGetVersionEx would undermine it.
Similar threads
Thread starter Title Forum Replies Date
G Windows 11 TCC/LE Support 2
J Crash (abort) during COPY on Windows 10 TCC/LE Support 30
P TCC LE crashes without any info after recent windows updates TCC/LE Support 3
M TCC/LE works with Windows Insider Skip Ahead Build 17618 TCC/LE Support 1
B Error in TCC/LE when succeed smoothly in native windows cmd.exe TCC/LE Support 6
A TCC/LE x64 no longer works with Windows 10 Insider Preview Build 17063 TCC/LE Support 7
D Incorrect icon for TCC/LE prompt here, Windows 10 TCC/LE Support 5
L Windows 10, OOrexx does not work TCC/LE Support 12
S Beeps when pressing modifier keys in Windows 10 Pro Insider Preview 15002.1001 TCC/LE Support 2
Roedy Windows 10 truncated window TCC/LE Support 4
John A TCC/LE not finding files in the c:\windows\system32\ directory? TCC/LE Support 4
BobK ATTRIB not working (TC 11.0 Windows 7) TCC/LE Support 1
Stefano Piccardi TCCLE and Windows XP TCC/LE Support 6
Z tcchere.btm not working on windows 7 TCC/LE Support 4
W tccle doesn't work under Windows 8 PE TCC/LE Support 3
J WAD Crash with Console2 under Windows 8 TCC/LE Support 9
jason404 Remove 'Windows 7' from the startup version display? TCC/LE Support 7
fpefpe Windows 2000 TCC/LE Support 1
S Windows 7 - Why does nbtstat not work? TCC/LE Support 1
H Windows 7 compatibility TCC/LE Support 1
Jesse Heines Request for TCC Date Command Custom Format Example TCC/LE Support 4
A vcvarsall.bat command not working on TCC LE command prompt TCC/LE Support 16
T Cursor-up for last command TCC/LE Support 4
B A command crash report TCC/LE Support 1
B Copy command to set timestamp not working in TCC/LE TCC/LE Support 5
D The output of apm command is disordered. TCC/LE Support 1
M Bug in RENAME and KEYSTACK command? TCC/LE Support 9
C WAD Executing rename.py -y trigger internal rename command TCC/LE Support 5
C Incompatibility with cmd.exe dir command TCC/LE Support 3
S Take Command 16.00.45 update crashed TCC/LE Support 2
A command typed? TCC/LE Support 12
O Redirection in for command does not work TCC/LE Support 7
CaptainFlint Command grouping differs from cmd? TCC/LE Support 22
S Fixed TCC-LE 13.05.65 x64 "option" command tabs broken TCC/LE Support 4
G unknown command (newbie post - be gentle) TCC/LE Support 3
Charles Dye ? command, TCC/LE vs. supported TCC/LE Support 3
O How to? Maintain command line history between reboots TCC/LE Support 8
C How to close Take Command? TCC/LE Support 2
Frank a question to "Take Command 13.04.52 Released" TCC/LE Support 3
J Help with Log Command TCC/LE Support 1
R How to? Add TCC Open command box here to context menu TCC/LE Support 2
jason404 Is there a command equivalent to ls -a in bash? TCC/LE Support 3
fpefpe time command -- time server TCC/LE Support 3
G What does this error means: TCC: Unknown command "C:\Program" TCC/LE Support 13
T trouble with start /runas command TCC/LE Support 1

Similar threads