Re: Shell script does not run
Re: Shell script does not run
- Subject: Re: Shell script does not run
- From: kai <email@hidden>
- Date: Wed, 25 Apr 2007 23:53:21 +0100
On 25 Apr 2007, at 23:02, Mark J. Reed wrote:
On 4/25/07, Peter Baxter <email@hidden> wrote:
Thanks Kai,
The quoted form solved the problem.
On 25/04/2007, at 11:26 PM, kai wrote:
> do shell script "cp -r " & quoted form of "/Volumes/BAXUSB2KEY/" &
> space & quoted form of "/Volumes/Lacie/BAXUSB2KEY/"
OK, I'm confused. I don't see anything in those pathnames that
requires quoting...
No, you're right Mark. I suggested quoting because it's generally
safer - especially if different file names/paths could be introduced
that might need quoting. Whether or not that was a factor here, I
couldn't say. But I'd recommend quoting to anyone who doesn't share
your ability to recognise potentially problematic characters. :-)
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden