Home »
Public Forums »
archive »
spawning to my dir, not IDL dir !DIR
spawning to my dir, not IDL dir !DIR [message #11737] |
Fri, 15 May 1998 00:00 |
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
|
|
|
Current Time: Sat Oct 11 09:09:50 PDT 2025
Total time taken to generate the page: 1.85893 seconds