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

Home » Public Forums » archive » Re: Running DOS-based programs from IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Running DOS-based programs from IDL [message #40665] Wed, 25 August 2004 08:09
i-kant is currently offline  i-kant
Messages: 14
Registered: June 2004
Junior Member
Michael Wallace <mwallace.no.spam@no.spam.swri.edu.invalid> wrote in message news:<10ini6t71ss6p33@corp.supernews.com>...
> IDL has a built in CD command you can use to change directory without
> resorting to SPAWN. Something like this will probably do the trick:
>
> CD, 'c:\folder', CURRENT = owd ; cd and save old working directory
> SPAWN, 'program.exe' ; spawn program
> CD, owd ; cd back to the old working directory
>
> -Mike


OK, that did the trick.


Thank you,


Edwin
Re: Running DOS-based programs from IDL [message #40682 is a reply to message #40665] Tue, 24 August 2004 16:01 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
IDL has a built in CD command you can use to change directory without
resorting to SPAWN. Something like this will probably do the trick:

CD, 'c:\folder', CURRENT = owd ; cd and save old working directory
SPAWN, 'program.exe' ; spawn program
CD, owd ; cd back to the old working directory

-Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Efficient convolution with irregularly spaced data
Next Topic: Reverse function and degenerate dimensions

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

Current Time: Wed Oct 08 14:01:33 PDT 2025

Total time taken to generate the page: 0.00733 seconds