Re: Shell script problem
Re: Shell script problem
- Subject: Re: Shell script problem
- From: "Mark J. Reed" <email@hidden>
- Date: Sun, 11 Dec 2005 14:34:57 -0500
> Manfred M. Strasser schrieb:
>
> > ls -l -S -F cd /Users/xyz/Desktop/oneFolder/
> > In the Terminal I get a correct result ... But using this in an
> > AppleScript ...
> > do shell script "ls -l -S -F cd " & "/Users/xyz/Desktop/xyz/"
> > returns an error: "No such directory ..."
> > What's the bug?
Two different paths. The first one has .../oneFolder, the second an
extra .../xyz. Could that be it?
Also, I'm wondering what the "cd" is doing there - the command line as
written asks ls to display information about the file "cd" in whatever
the current directory is as well as the directory you specify with the
full path afterward.
--
Mark J. Reed <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