Re: spawning to my dir, not IDL dir !DIR [message #11678] |
Sun, 17 May 1998 00:00 |
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/
|
|
|