Regards,
Todd
Use REG from the support tools, tip 3968 in the 'NT Reg Hacks' at
http://www.jsiinc.com.
C:\>for /f "Skip=3 Tokens=2*" %%i in ('REG QUERY "HKLM\Software\Microsoft
\Windows NT\CurrentVersion" /v CSDVersion') do set SP="%%j"
if %SP%="Service Pack 2" goto SP2
Jerold Schulman
Windows Server MVP / Configuration Management
JSI, Inc.
http://www.jsiinc.com