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

Home » Public Forums » archive » 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
spawning to my dir, not IDL dir !DIR [message #11737] Fri, 15 May 1998 00:00
T Bowers is currently offline  T Bowers
Messages: 56
Registered: May 1998
Member
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?

Also....

I set !path in my app with:

case (OSVersion) of
"unix" : begin pathSep = "/" & pathDelim = ":" & end
"windows" : begin pathSep = "\" & pathDelim = ";" & end
else : begin pathSep = "\" & pathDelim = "," & end ;macOS
endcase
!path = baseDir + pathDelim + appDir + pathDelim + !path

Can I pass this to spawn so i can find stuff?

tia,
todd bowers
[Message index]
 
Read Message
Previous Topic: IDL 5.1 & ActiveX
Next Topic: spawning to my dir, not IDL dir !DIR

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

Current Time: Sat Oct 11 09:55:41 PDT 2025

Total time taken to generate the page: 1.35737 seconds