The backslash is a special character when placed inside a quoted string. "\"" evaluates as a single double quote character. To get an actual backslash, you put it in twice. "\\" will evaluate as a single \.
See this thread to learn more about file paths and container fields: Exploring the use of a $Path Variable in Scripts
Thanks for the explanation on the backslash, it was driving me crazy.
I did download your sample file, thank you for sharing that. I have been looking through it and even though I will need to dissect some the calculations more, I really found the temporary path useful, especially prior to emailing as you explained. One thing I was not completely clear on is why you would use the "file:" tag prior to the rest of the variable. If you could explain it more in-depth to me that would be great.
Thanks for response Phil, it is much appreciated.
There are several "tags" that can appear at the start of a FileMaker File path: filewin: ; filemac: ; imagemac: ; imagewin....
"file:" works on both mac and windows platforms. In some cases and with some versions of FileMaker, you don't need the "file:" tag at all but by including it, I get something that should work in just about all contexts and versions except for image files inserted with the insert picture menu option.