We are migrating from Novell to NT and I am using kix as the login script. On the novell server we had a script that would check is SMS_LOCAL_DIR was set as a environment variable and if it was it would not launch the executable. How could i do the same thing with kix? i have tried everything but i cannot get it to work.

Novel script

;CHECK FOR SMS 2.0 Client, Skip if Found
IF "%<SMS_LOCAL_DIR>" <> "" THEN
GOTO NOSMS