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 
Return to the default flat view Create a new topic Submit Reply
Re: Running DOS-based programs from IDL [message #40665] Wed, 25 August 2004 08:09 Go to previous message
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
[Message index]
 
Read Message
Read Message
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 15:52:13 PDT 2025

Total time taken to generate the page: 0.00357 seconds