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 14:54:59 -0400
"Thomas Vatter" wrote:
> How do I get the name of the current working directory in Applescript? I have
> tried cd `dirname $0` without success.
Well, you must mean "in the shell, via AppleScript" because AS does not have
"working directories".
And...
'cd' is 'change directory'
You want 'pwd' which is 'path to working directory'.
That's the path to the "working" directory, not just its name.
--
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