From: Daniel A. S. <st...@ic...> - 2002-03-12 08:51:31
|
At 9:01 +0100 on 12/3/02, AO...@t-... wrote: >this is an absolut path name not relative no relative c.f. man n filename you should use [file join {} a b] to get consistent results, if a user has a volume named 'a', [file join a b] will give a:b and not :a:b like you might expect. (the behaviour [file join a b] => :a:b is a unix compatibility hack since so many scripts use it, but it's not guaranteed...) the correct crossplatform way to construct a relative path to directory/file 'a' is [file join {} a] (or using [pwd]) Cheers, Daniel -- ** Daniel A. Steffen ** "And now to something completely ** Department of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |