No, you're not missing anything.
Adobe have decided (why? no idea) that commas are not "safe characters" and so can't be included in the file path when using saveAs().
Idiotic? Yes, but there's nothing you can do about it except complain here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Thanks for that link to the "wish forum".
I have reported failure to accept commas in the path as a bug.
I'll keep this question open for just a little longer.
Does anybody know of any tricky escape character sequences that might solve the problem? I have failed with "\," and various ideas for nested quotes.
You can also drop an Email to me at [Moderator: Personal information removed, try private messaging How Do I Send Private Message ] to let me know further in this. Thanks.
Wow... It took 8 years (at least...) to fix this bug? Better late than never, I guess. Thanks for the update!
If one is dealing with cross platform (Operating Systems) of data then it might not be the best idea since different OSs have different restraints on drive names, directory names, file names, etc.
One might not always know the configuration of other users systems and networks. It is possible a user could be on Windows and the network servers are Unix.
Does this mean that commas in filenames should be acceptable? I am trying to use a saveas() function using filenames that have commas and it won't work. For reference, I have Adobe 11.0.23. Is it the commas that are messing me up? I am also trying to use a string variable that is just the filename of whatever the current file is and it doesn't work with that (though the filenames all have commas). However, the same code does work if I hardcode the filename (which I don't want to do). Is this just the commas being an issue?
Probably, yes. I believe this was changed in Acrobat DC, but it's still an issue in earlier versions.