Using Maxsctipt: Exporting a file the following code works fine:
caption:"Caption" \
types:"text(*.txt)|*.txt|All|*.*|" \
filename:(sysinfo.currentdir + @"\some_text.txt")
I am wondering what the significance the @ symbol has?
From the maxscript help file:
Verbatim String Literals
Verbatim string literals added to MAXScript in 3ds Max 2008 are prefixed by the '@' character and are NOT expanded even if containing backslash escape character sequences like '\t', '\n' or '\r'.
Bottomline you don't need to escape characters in the string if there are any "illegal" characters in it, especially helpful when dealing with paths loads of \ 's