Re: Getting the path to root
Re: Getting the path to root
- Subject: Re: Getting the path to root
- From: Michelle Steiner <email@hidden>
- Date: Fri, 2 Jun 2006 10:49:59 -0700
On Jun 2, 2006, at 10:04 AM, Doug McNutt wrote:
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
In UNIX it would be
set mypath to "/"
But I assume you tried that. The root is also the highest level
directory on the startup disk.
set foo to "/"
POSIX file foo
--> file "Dora"
path to startup disk
--> alias "Dora:"
POSIX path of "Dora"
--> "/"
---
Do not go out and kill Klansmen, no matter how much they deserve it.
It would be funny as hell to see on the evening news how a bunch of
guys wearing bright pink robes and hoods started burning triangles in
their yards for a change.
_______________________________________________
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