Re: Getting the path to root
Re: Getting the path to root
- Subject: Re: Getting the path to root
- From: Errol Sayre <email@hidden>
- Date: Fri, 2 Jun 2006 13:00:53 -0500
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:
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:
This email sent to email@hidden