On Nov 18, 2006, at 6:23 PM, Sven E Olsson wrote:
Just a note...f = f.child("..") is the same as f = f.parent ! I have checked LR, but noting about it.. Test: dim f as folderitem = DesktopFolder f = f.child("..") f = f.Child("hello.txt") EditField1.Text = f.AbsolutePath Result: Macintosh HD:Users:sveneolsson:hello.txt
.. is standard Unix parlance for the parent directory (try cd .. in a Linux or MacOS X shell). And Windows is supposed to be Posix (a kind of standard "basic unix-like" standard) compliant. So I wouldn't be surprised if this worked on Windows, and it should certainly work on OS X and Linux.
Regards, Guyren G Howe Relevant Logic LLC guyren-at-relevantlogic.com ~ http://relevantlogic.com REALbasic, PHP, Python programming PostgreSQL, MySQL database design and consulting Technical writing and training _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
