Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
running an IDL .pro from outside IDL e.g. from a .bat file
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
Re: running an IDL .pro from outside IDL e.g. from a .bat file
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