It looks to me like you are missing the second ">" on the second line. It should read. query session /server:ctx01>c:\info.txt query session /server:ctx02>>c:\info.txt The second one tells it to append the data in the txt file vs. replace it. Jan Broucinek, System Manager Arthur Rutenberg Homes, Inc. (727) 536-5900 voice (727) 536-7168 x245 direct (727) 538-9089 fax www.arhomes.com ----- Original Message ----- From: "Halvarsson, Thomas" <thomas.halvarsson@xxxxxxxx> To: <thin@xxxxxxxxxxxxx> Sent: Tuesday, April 01, 2003 8:57 AM Subject: [THIN] Quser > > Hi > > I have a problem using query user, query session, query winsta > > If I schedule a batch file I only get info from the server the batch file is > executed > > Example > > If I schedule qs.cmd on ctx01 > > > Qs.cmd > -------- > query session /server:ctx01>c:\info.txt > query session /server:ctx02>c:\info.txt > -------- > > I only see the sessions on server ctx01 in the text file!!!! > > If I run the qs.cmd manually I works. > I have tried to change the schedule service logon account to a domain admin > account. Tried all the command above (query user, query session, query > winsta) > > I Am running w2k and Metaframe XP Sp2 > > /T > > > This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. > > ******************************************************** > This Week's Sponsor - Emergent Online > EOL's Universal Printer new Features include: > Network Printing, Pagestreaming, 2400 DPI. > No Client Software Required! > http://www.go-eol.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 EOL's Universal Printer new Features include: Network Printing, Pagestreaming, 2400 DPI. No Client Software Required! http://www.go-eol.com/ ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm