0

I am getting System.IO.PathTooLong Exception in File.copy(file1 , file2). What are other ways to handle it except shortening the names of file.

Madhur Maurya
  • 1,016
  • 4
  • 19
  • 42
  • 1
    Long filenames are enforced by the operating system. Nothing you can do except handle the exception gracefully and shortening it. – Brad C Mar 17 '16 at 04:38
  • @br4d The problem here is: The file name length is appropriate, but fully qualified name is more than 260 character. Is there any workaround. – Madhur Maurya Mar 17 '16 at 04:41

0 Answers0