Hello Tom,

If only worried between NT and Win9x you can use this.

IF @INWIN = 1
;do your NT code here
ELSE
;do your Win9x code here
ENDIF