Since 'L', 'M', or 'N' are the default Citrix Drives this is what I use...
code:
:CITRIX
IF((%SYSTEMDRIVE% = L:)OR(%SYSTEMDRIVE% = M:)OR(%SYSTEMDRIVE% = N:))
? "[ You are logging into a Citrix Server ]"
? "[ The Login Script will exit without running ]" + @CRLF
SLEEP 3
GOTO END
ENDIF

HTH

Rocco
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro