• 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: Getting the path to root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the path to root


  • Subject: Re: Getting the path to root
  • From: deivy petrescu <email@hidden>
  • Date: Sat, 3 Jun 2006 08:00:30 -0400


On Jun 2, 2006, at 12:04, Federico Tessmann wrote:

Hi,

i was wonthering how to get the path to root
I can get the path to desktop the following way:
set mypath to path to desktop

But how can i set it to root?

Best regards,

Federico

Besides the ones pointed out by Michelle, this works:

alias (posix file "/")

However, funnily enough, this

path to "root"

or

path to "rotf"

that should return the path to root, return the path to the root "System"


Deivy _______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Getting the path to root (From: "Federico Tessmann" <email@hidden>)

  • Prev by Date: Re: Getting the path to root
  • Next by Date: Re: AppleScript release notes
  • Previous by thread: Re: Getting the path to root
  • Next by thread: Re: Using osacompile as non-root without window server running?
  • Index(es):
    • Date
    • Thread