[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] path name syntax



[Luigi, wenn sending mail to the mailing list, please give it a meaningful
 Subject: line. Thanks]

rensingh@uni-duesseldorf.de (Luigi Rensinghoff) writes:
>I have some problems with the directory-names with MacPerl.
>I want to open a file that is located in a directory two levels below the
>one from which i want to open the file i i do not know how to do this.

The file MacPerl.Specifics describes all the rules, although it assigns the
opposite meanings to "above" and "below" than you seem to do.

In short, when your current directory is:

bigdisk:dir1:dir2:dir3:

and you want to open file

bigdisk:dir1:xy

you need relative path:

:::xy

: means current directory, :: means parent directory, ::: means parent of 
parent.

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "There once was an Age of Reason, but we've progressed beyond it."
                                   -- Ayn Rand, _Atlas Shrugged_