• 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: name of the system volume as a string (was Re: Newbie question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: name of the system volume as a string (was Re: Newbie question)


  • Subject: Re: name of the system volume as a string (was Re: Newbie question)
  • From: Helmut Fuchs <email@hidden>
  • Date: Thu, 13 Dec 2001 15:02:28 +0100

At 7:30 Uhr -0600 13.12.2001, JollyRoger wrote:
For folders and volumes, the last character of the path is always a colon
(:)). The following script uses a well-known trick to cut off the last
character of the path.

-- begin script
characters 1 thru -2 of (the path to startup disk as text) as text
-- end script

To avoid the unnecessary coercion to a list you could also write:
text 1 thru -2 of (path to startup disk as text)

Have fun!

Helmut


  • Prev by Date: Re: name of the system volume as a string (was Re: Newbie question)
  • Next by Date: Open URL in Netscape?
  • Previous by thread: Re: name of the system volume as a string (was Re: Newbie question)
  • Next by thread: Open URL in Netscape?
  • Index(es):
    • Date
    • Thread