windows 95 sets up the environment variables windir and winbootdir. windows nt sets up a variable called os with a value of "windows_nt" (as well as the other two variables i mentioned).
if you do end up resorting to using a program to determine this, there is some pb/dos code in the source code forum that may be of assistance.
Announcement
Collapse
No announcement yet.
Test for 32-bit Windows
Collapse
X
Leave a comment: