Dear all
Have been provided with an ace little shell script which works nicely when triggered using an applescript. However, when I move the shell script to a folder with a space and an apostrophe it returns an error. How do I get around this problem?
working script
do shell script "/Users/GarethPenman/Documents/shellscript"
non-working script
do shell script "'/Users/GarethPenman/Documents/Gareth's Documents/shellscript'"
returns the error:
error “sh: -c: line 0: unexpected EOF while looking for matching `‘’
sh: -c: line 1: syntax error: unexpected end of file” number 2
Do I need to add owt?
Cheers
G