The Common Lisp function
software-type
returns a generic name for the Operating System. The Common Lisp function
software-version
returns information about the the version of the Operating System.
In particular
software-type
can be used to distinguish between systems based on MS Windows and those based on MS Windows NT.
software-version
allows you to identify variants such as Windows Millennium Edition, Windows 2000 and so on.. See the
LispWorks Reference Manual
for details.