On 4/5/00 8:32 AM, [EMAIL PROTECTED] at [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:

  open file "../B2/theText.txt"

The "../" jumps up one level.

-- 
 Richard Gaskin 
 Fourth World
 Multimedia Design and Development for Mac, Windows, UNIX, and the Web
 _____________________________________________________________________
 [EMAIL PROTECTED]                 http://www.FourthWorld.com
 Tel: 323-225-3717           ICQ#60248349            Fax: 323-225-0716


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.

Reply via email to