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

Home » Public Forums » archive » Re: spawning to my dir, not IDL dir !DIR
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: spawning to my dir, not IDL dir !DIR [message #11678] Sun, 17 May 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
T Bowers (tbowers@nrlssc.navy.mil) writes:

> I'm trying to
>
> spawn, ".\apps\myapp .\data\mydata.dat"
>
> to use relative paths from my apps base dir so I don't have to
> string together possibly huge command strings with complete
> path names which could conceivably create a string longer than
> DOS will allow (128 chars I believe).
> How do I make it so that spawn spawns to any dir I want?

I would try changing the working IDL directory to the
directory you want to use before issuing the Spawn command:

CD, Current=thisDirectory
CD, './myapps/data'
Spawn, 'myprograms'
CD, thisDirectory

Cheers,

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: Programming style
Next Topic: Re: error handling in v. 3.51

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

Current Time: Fri Oct 10 18:09:56 PDT 2025

Total time taken to generate the page: 1.04164 seconds