You can clean up your code quite a bit with:
Code:

IF INSTR(@PRODUCTTYPE,"XP") OR INSTR(@PRODUCTTYPE,"2000")
? @PRODUCTTYPE + @CRLF + @CRLF
$path = %SystemDrive% + "\Temp"
DirFileWipe($path)

$path = %WinDir% + "\Temp"
DirFileWipe($path)
ELSE
? "This script is only configured for Windows 2000/XP"
ENDIF


With your original SELECT statement, it will never touch 2000 Systems.

Of course with more than two conditions, you can go back to the SELECT..CASE..ENDSELECT.

HTH,

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