if @INWIN = 1 goto SMSCLIENT
if @INWIN <> 1 goto CONTINUE
;Unsure about the <> 1 var.
;Det som skall köras på en NT/2k/XP maskin
;Clients that will receive the SMS client

:SMSCLIENT
if exist("@LDRIVE\smsls.bat")

;Is it better to speciffy a complete path ?

:CONTINUE
;Rest of the logon script
_________________________
_ _________________ _ Computers make very fast, very accurate mistakes