• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: HFS paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Tell Blocks Considered Harmful (was Re: open for access) (From: Richard Rönnbäck <email@hidden>)
 >Re: Tell Blocks Considered Harmful (was Re: open for access) (From: Axel Luttgens <email@hidden>)
 >Re: HFS paths (was Tell Blocks Considered Harmful) (From: Chris Page <email@hidden>)
 >Re: HFS paths (was Tell Blocks Considered Harmful) (From: Axel Luttgens <email@hidden>)
 >Re: HFS paths (was Tell Blocks Considered Harmful) (From: KOENIG Yvan <email@hidden>)
 >Re: HFS paths (was Tell Blocks Considered Harmful) (From: Axel Luttgens <email@hidden>)
 >Re: HFS paths (was Tell Blocks Considered Harmful) (From: KOENIG Yvan <email@hidden>)
 >Re: HFS paths (was Tell Blocks Considered Harmful) (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: HFS paths
  • Next by Date: Re: HFS paths (was Tell Blocks Considered Harmful)
  • Previous by thread: Re: HFS paths
  • Next by thread: Re: HFS paths (was Tell Blocks Considered Harmful)
  • Index(es):
    • Date
    • Thread