Re: Get current working directory
Re: Get current working directory
- Subject: Re: Get current working directory
- From: "Gary (Lists)" <email@hidden>
- Date: Sun, 02 Oct 2005 18:47:22 -0400
"Mark J. Reed" wrote:
> On 10/2/05, Gary (Lists) <email@hidden> wrote:
>> Well, you must mean "in the shell, via AppleScript" because AS does not have
>> "working directories".
>
> C'est impossible. Every single process that ever runs in OS X has a
> current working directory defined at all times. AppleScript may not
> provide any means to find out what that is for the AS interpreter
> process, but that doesn't change the fact that it's there.
Blah. Blah. Not the point. Not what I was saying. Not related to what the OP
was asking.
AppleScript has no "current working directory" concept in the language,
other than, maybe, a similar construct in 'path to', or when passing a
parameter to a 'choose application/file/folder' as a starting point.
The user asked how to use 'do shell script' to get the path to the working
directory. That implies, "in the shell", not in AppleScript.
--
Gary
_______________________________________________
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