Closed ngjermundshaug closed 8 years ago
If it's a windows bug, there may not be much that can be done.
It's not because of the whitespace, it's because of the "con". "con" is a reserved filename (for the Console device), and a filename cannot include it as a whole word (of course something like "context" or "defcon" is fine). If you try to create a file named "Con. approval.pdf" or "con.pdf", it will fail.
Awesome! Thanks for clearing this up Thomas!
There is a bug in Pri.LongPath.Path.GetDirectoryName when the filename contains '. ' (dot and then whitespace).
Seems to be a win32 bug:
I have reported this here: https://msdn.microsoft.com/en-us/library/windows/desktop/aa364963(v=vs.85).aspx