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



If appropriate... there is also the venerable "path to startup disk"... but that may not be what you need...

On Jun 2, 2006, at 12:32 PM, Roger Howard wrote:


On Jun 2, 2006, at 9:04 AM, 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?

Do you want an alias, or a POSIX path?

If you just want a POSIX path, root is always "/"

If you want an alias to root:

set RootAlias to "/" as POSIX file as alias

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/errolbert% 40mac.com


This email sent to email@hidden

_______________________________________________ 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>)
 >Re: Getting the path to root (From: Roger Howard <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.