Mike,

Have you thought about the following two macros? Instead of using the INSTR...

quote:

@PRODUCTSUITE OS suite. Combination of any of the following values:
1 - "Small Business"
2 - "Enterprise"
4 - "BackOffice"
8 - "CommunicationServer"
16 - "Terminal Server"
32 - "Small Business (Restricted)"
64 - "EmbeddedNT"
128 - "DataCenter"
256 - "Single user Terminal Server"
512 - "Home Edition"
1024- "Blade Server"

@PRODUCTTYPE OS type. Possible values:
"Windows 95"
"Windows 98"
"Windows Me"
"Windows NT Workstation"
"Windows NT Server"
"Windows NT Domain Controller"
"Windows 2000 Professional"
"Windows 2000 Server"
"Windows 2000 Domain Controller"
"Windows XP Home Edition"
"Windows XP Professional"
"Windows XP Server"
"Windows XP Domain Controller"


HTH,

- Kent

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's