I'm working on a dos only program (16 bit real mode), yet I want to check for a windows host OS. I wish to abort my program with a "dos OS only" sort of error message if windooze is detected. I know I can find the dos underlay of win9x using osmajor and osminor, but what about win versions that emulate dos such as NT, 2000, and XP?

My compiler has winver, winminor, and winmajor, but not in the dos libraries. Outside of doing something like checking for ntldr files or winnt directories is there a way from dos to check if newer versions of windows is running?

TIA