[THIN] Re: Batch File Newbie Question

  • From: Callaway <callaway4all@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Wed, 17 Jul 2002 05:28:42 -0700 (PDT)

Found my fix in the newsgroups.  I needed to use the
following and all is well!

qserver.exe 2>&1 >> c:\file.txt

Thanks for the ideas!


--- "Selinger, Stephen" <SSelinger@xxxxxxxxxxxxxx>
wrote:
> Just a guess but is the quer.exe located in the same
> folder as you are
> calling the batch file from or does it have a path
> to the file?
> 
> -----Original Message-----
> From: Nishimura, Scott
> [mailto:Scott.Nishimura@xxxxxxx]
> Sent: July 16, 2002 2:48 PM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: Batch File Newbie Question
> 
> 
> Dunno; works for me.  Put a "pause" statement at
> the end so you can see what's happening.
> 
> When you say the output is the "syntax", do you mean
> something like
> 
> Display information about available ICA-enabled
> servers on the network.
> 
> QUERY SERVER [server [/PING [/COUNT:n] [/SIZE:n] |
>                       /STATS | /RESET | /LOAD |
> /ADDR]]
>     [/TCP] [/IPX] [/NETBIOS] [/TCPSERVER:x]
> [/IPXSERVER:x]
> [/NETBIOSSERVER:x]
>     [/LICENSE | /APP | /GATEWAY | /SERIAL | /DISC |
> /SERVERFARM | /VIDEO]
>     [/CONTINUE]
> 
> ?
> 
> If so, it sounds like you've got an error somewhere
> so the
> batch file is not able to execute the command but
> instead
> spits back the command info.
> 
> 
> Scott
> 
> -----Original Message-----
> From: Callaway [mailto:callaway4all@xxxxxxxxx]
> Sent: Tuesday, July 16, 2002 12:08 PM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Batch File Newbie Question
> 
> 
> If I type the following at a command prompt I get my
> server info in a text file:
> 
> qserver > test.txt
> 
> But if I create a batch file and the above is the
> only
> line in the batch file, when I run the batch file it
> creates the text file but that only contains the
> syntax of the command, no qserver data.
> 
> Why?
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes
> http://autos.yahoo.com
> 
> 
> 
> ===================================
> This weeks Sponsor:
> triCerat, Inc
> ScrewDrivers fxp: Self Configuring Printer Driver
> with Bandwidth Control
> Learn more at:
> http://www.tricerat.com/?page=products&product=sdfxp
> 
> ===================================
> For Archives, to Unsubscribe, Subscribe or 
> set Digest or Vacation mode use the below link.
> 
> http://thethin.net/citrixlist.cfm
> 
> 
> 
> ===================================
> This weeks Sponsor:
> triCerat, Inc
> ScrewDrivers fxp: Self Configuring Printer Driver
> with Bandwidth Control
> Learn more at:
> http://www.tricerat.com/?page=products&product=sdfxp
> 
> ===================================
> For Archives, to Unsubscribe, Subscribe or 
> set Digest or Vacation mode use the below link.
> 
> http://thethin.net/citrixlist.cfm
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com



===================================
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at:
http://www.tricerat.com/?page=products&product=sdfxp

===================================
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm

Other related posts: