I am using a SaveFileDialog and I have to set long string (longFileName) in FileName. The string longFileName is known in runtime.
If I set
  saveFileDialog.FileName = longFileName;    Then I get the  system.IO.PathTooLongException . 
How can I do this? The bottom line is ... You can not do, the maximum file name for NTFS is 256.
My advice, minimize your filename.
No comments:
Post a Comment