comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to run a program for datasets located in different folders at a single stretch
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to run a program for datasets located in different folders at a single stretch [message #71953 is a reply to message #71939] Wed, 28 July 2010 02:46 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Jul 28, 3:29 am, sid <gunvicsi...@gmail.com> wrote:
> Hi,
>     I have a program which I need to run for several data sets (which
> are in different different folders), Since the number of folders in
> which the data sets present are huge in number, it is very difficult
> to go to that folder in which the dataset is and then copy the program
> to that particular folder and run it(orelse i need to copy the
> location of the dataset in the program, which is also a difficult
> task). So please give some ideas to run the program for all the
> datasets in different folder at a single stretch.
> regards

I suggest that you investigate using the IDL "path." IDL searches the
path for program files no matter where your data is located. See the
IDL documentation for "!PATH"

As for automating processing with "huge" numbers of folders, your best
bet is probably to investigate using the "CD" procedure. This
procedure allows your program to change working folders under program
control, so that you can switch from one folder to the next in
succession, without quitting your program.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Another small V8.0 bug
Next Topic: Re: Fanning's LogScl routine + Colorbar??

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Dec 03 19:06:40 PST 2025

Total time taken to generate the page: 0.64404 seconds