[THIN] Re: WAY OT: Kix script question

  • From: "Ron Oglesby" <roglesby@xxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 12 Nov 2002 14:05:26 -0600

How about a FOR command?  Check out the KIX help. And some run commands
will probably do what you want.

Ron Oglesby
Senior Technical Architect
=20
RapidApp
Office 312.372.7188
Mobile 312.961.2380
email roglesby@xxxxxxxxxxxx
=20

-----Original Message-----
From: Stansel, Paul [mailto:Paul.Stansel@xxxxxxxxxxxxx]=20
Sent: Tuesday, November 12, 2002 1:57 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] WAY OT: Kix script question


Ok... here's what I'm trying to do.  Let me know if I am way off base
with
this one :).

I have a program that returns a directory listing of the files on my
ReplayTV box.  It looks like a fairly typical directory listing, and
there
are multiple file types.  For instance:

1003909909.mpg
1034998099.prt
etc;

The files are a fixed length.  What I want is to extract just the names
of
the .mpg files and then feed them back to a command line program that
will
be able to use them one at a time to download the specific mpg file.  I
guess I will just set an environment variable with it, then feed that
variable in to the command line.  It would have to loop until there were
no
more files and then exit.

So... I get the very basics (calling the program, Opening the file,
etc;)
What I am not sure on is masking it so it will pull just the .mpg files,
and
how I need to make the loop so it will finish when there are no more
.mpg
names.  Any ideas?  I 'm going to play with it and see what I come up
with,
but a pointer in the right direction would be great.

Thanks,
Paul

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

http://thethin.net/citrixlist.cfm

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

http://thethin.net/citrixlist.cfm

Other related posts: