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

Re: [MacPerl] Aliases



>Can I (how can I :-) make and read aliases under MacPerl.
>
>Actually, I think I know how to read them (with stat) but
>can I easily create them?
>
>Vicki

You can do just that with the symlink function. Let's look at an example:

symlink (":disk:folder2:whatever", ":disk:folder3:thing") ;

this would take the file "thing" which is located inside a folder called
"folder3" and make an alias of it called "whatever" located inside
"folder2".

If you prefer, the syntax of the function would look something like this:

symlink ("newlink", "file");

Hope that helps...


........................................................................
Jean-Philippe Cote <jb791804@er.uqam.ca>