single quote escaping in applescript/shell
问题 I'm trying to process this shell script in applescript, but it keeps saying error EOF, because of the single quote in the folder name. do shell script "cp -R " & a & " " & "'" & d & "/My 'Folder/java/" & "'" The folder /My 'Folder/ is a legitimate directory. The variable a = '/Applications/MyProgram/' (and includes the single quotes) The variable d = /Folders (with no single quotes) However, shell is getting stuck processing it, im guessing because the folder is enclosed in quotes. Is there