How to determine OS version by LISP
How can I determine the OS on the running PC?
I use only LISP.
The (getenv "OS") gives Windows_NT in both WinXP an Win7.
0
Comments
-
I forgot to write that is is using Bricscad V6.
0 -
I think there is an old SDS DosLib out there that might do the trick. I have no idea where to get it though.
0 -
I'm using (getvar "platform")0
-
Thank you - this works fine....
0 -
Just one problem:
Windows XP and Windows Vista both reports the same: "Microsoft Windows NT Version 5.1"
Anyone have something that can find these versions?
0 -
On my Vista "Microsoft Windows NT Version 6.0" and XP - "Microsoft Windows NT Version 5.1". Checked on different machines.
I have no ideas why did you received the same on both of OS...
0
This discussion has been closed.