It just outputs the address. I would prefer to use standard batch file processing, but I cannot work out how to use the for command to acheive this. Chris. -----Original Message----- From: Braebaum, Neil [mailto:Neil.Braebaum@xxxxxxxxxxxxxxxxx] Sent: 09 October 2003 13:49 To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: TS Client IP address Is the return value the IP address, or does it simply output the IP address to standard output? Do you want to do this by normal cmd / batch files? Should be possible to use FOR to parse the output of the clientip.exe. Neil > -----Original Message----- > From: Chris O'Brien [mailto:cobrien@xxxxxxxxxxxxxxxxxxxxx] > Sent: 09 October 2003 13:19 > To: 'thin@xxxxxxxxxxxxx' > Subject: [THIN] TS Client IP address > > I am looking for a way of obtaining a TS client's IP address > and putting it into a variable inside a login script so that > it can be used in the same way as the %clientname% variable. > I have the clientip.exe utility that displays the client's IP > address in a DOS box, but I don't know how to get this output > into a variable. Has anyone managed this ? *********************************************** This e-mail and its attachments are confidential and are intended for the above named recipient only. If this has come to you in error, please notify the sender immediately and delete this e-mail from your system. You must take no action based on this, nor must you copy or disclose it or any part of its contents to any person or organisation. Statements and opinions contained in this email may not necessarily represent those of Littlewoods. Please note that e-mail communications may be monitored. The registered office of Littlewoods Limited and its subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. Registered number of Littlewoods Limited is 262152. ************************************************ ******************************************************** This Week's Sponsor - Emergent Online Essential Thin Client Utilities. Meet Jim Kenzig of thethin.net at the Emergent Online Booth #24 at Citrix iForum on October 13th. http://www.go-eol.com ********************************************************** Useful Thin Client Computing Links are available at: http://thethin.net/links.cfm New! Online Thin Computing Magazine Site http://www.OnDemandAccess.com For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ******************************************************** This Week's Sponsor - Emergent Online Essential Thin Client Utilities. Meet Jim Kenzig of thethin.net at the Emergent Online Booth #24 at Citrix iForum on October 13th. http://www.go-eol.com ********************************************************** Useful Thin Client Computing Links are available at: http://thethin.net/links.cfm New! Online Thin Computing Magazine Site http://www.OnDemandAccess.com For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm