>>Hi, >> >>I want to write a function that gives me the OS of the computer ie Windows 98 / Windows NT etc. >> >>OS(1) function returns Win version number as 4 for Win 98, 4.9 for Win Me, 5 for Win 2000 and so on. Is there any way I can map the return value of OS(1) to the correct equivalent Windows OS version? > >See http://fox.wikis.com/wc.dll?Wiki~VFPFunctionOS~VFP.
Sergey,
This is what I wanted. From the link you gave, I found more about Build and Service pack details at this page