Thanks Glenn, I have another question, I am logging each users login into a file = using "WRITELINE (1,@DATE + "," + @TIME + "," + @USERID + "," + @WKSTA + = @CRLF)". We have a lot of thin clients and @WKSTA returns the name of = the citrix server (not surprisingly). Is there a variable or a way for = it to return the original device name (ie the hostname of the = thin-client rather than the Citrix server). Thanks for any help, Steve -----Original Message----- From: Sullivan, Glenn [mailto:GSullivan@xxxxxxxxxxxxxx] Sent: 22 November 2002 1:05 PM To: 'windows2000@xxxxxxxxxxxxx' Subject: [windows2000] Re: Qucik Kixtart Question... change the lines from: WRITELINE(10, $linetowrite + $CRLF) to: $q =3D WRITELINE(10, $linetowrite + $CRLF) $q being a junk variable. It will store the return code, but if you = don't need it, don't look at it. Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc. -----Original Message----- From: Steve Rance [mailto:Steve.Rance@xxxxxxxxxxxxxxxxxxxxx] Sent: Friday, November 22, 2002 7:53 AM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Qucik Kixtart Question... I have created a logon Kixtart script that writes a number of things to = =3D a log file using the open, writeline, close commands. This works spot = =3D on except that on the screen a get a row of 0's that I know are the =3D return codes from the commands I am using. My question is how do I get rid of the 0's? Thanks, Steve =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm ================================== To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm