Re: HFS paths
Re: HFS paths
- Subject: Re: HFS paths
- From: Chris Page <email@hidden>
- Date: Sun, 21 Dec 2008 14:27:43 -0800
On Dec 21, 2008, at 05:17 AM, Mark J. Reed wrote:
But the question was about disk volumes. Chris said that HFS paths
to volumes have to have a trailing colon ...
Yes. If you try to access the HFS file path "Foo" it will never access
a volume. "Foo:..." is how an HFS path refers to a volume.
... Axel pointed out that (POSIX file "/Volumes/Foo" as text) yields
bare "Foo" without the
trailing colon ...
Looks like a bug to me. Although, frankly, I think it's weird that you
can coerce a file to text to get its path rather than by getting a
path property.
... I note that (POSIX file "/Volumes/Foo" as file as text) does put
the trailing colon in.
If you haven't already, it would be helpful if you could post a bug
about the difference between these results: <http://
bugreport.apple.com/>
--
Chris Page - AppleScripter
The other, other AppleScript Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden