|
Re: running an IDL .pro from outside IDL e.g. from a .bat file [message #71110 is a reply to message #71020] |
Wed, 26 May 2010 06:56  |
KRDean
Messages: 69 Registered: July 2006
|
Member |
|
|
On May 25, 11:57 pm, simon stisen <simonsti...@gmail.com> wrote:
> Hi,
>
> I have an IDL program .pro which I need to run from outside of IDL,
> e.g. from a .bat file.
> I basically just need to open IDL, compile and run the program and
> close IDL again.
> Is that possible to do from a .bat file?
>
> Cheers
> Simon
Yes you can!
There are several ways to do this and these methods have been
discussed often among members of this group.
Search the group for "batch" and several methods will appear.
You have the old fashion IDLrt @test.pro
Or the popular IDLrt test.sav
And the new IDL DOS Command Line introduced with IDL 7.1, along with
the IDL 7.1 routine MakeRT that makes a DOS executable.
There are plenty of possibilities to run your IDL program from a .bat
file.
Kelly Dean
Fort Collins, CO
|
|
|