Can someone tell me how to duplicate a file to a folder whose name contains a character such as a bullet (option-8) or a space?
Here is a line from a script I have:
duplicate theFile to folder (infomac & "•Originals:")
This results in the following in the event log:
get document file "asv2n0298.txt" of folder "InfoMac" of disk "HD1" "HD1:InfoMac:asv2n0298.txt" copy "HD1:InfoMac:asv2n0298.txt" to folder "HD1:InfoMac:•Originals:" "Finder got an error: Can't set folder \"HD1:InfoMac:•Originals:\" to \"HD1:InfoMac:asv2n0298.txt\"."
If I create a folder without the bullet in the name and change the line to:
duplicate theFile to folder (infomac & "Originals:")
,the duplicate statement works correctly.
Putting the complete name of the folder in a variable doesn't work either.
Any suggestions?
Jim Brandt |