Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the path to root




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: http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Getting the path to root (From: "Federico Tessmann" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.