On 5/4/00 4:32 pm, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> If I have a folder (A1) containing two folders (B1 & B2) and my MC program in
> folder B1 wants to look for a file in folder B2, can a *relative* path be
> written to go from folder B1 to B2?
>
> For example, if my MC program "myProgram.exe" is in file B1 and I want to
> read a text file "theText.txt" in folder B2, is there a way to go *up* one
> level and then back to the appropriate folder in the path? Something like:
>
> open file "A1/B2/theText.txt" (which I tried but doesn't work)
Try:
"../B2/theText.txt"
Regards,
Kevin
> Thanks.
>
> Philip Chumbley
Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.