Skip to main content
Solved

Max. length of path name (in XML reader) ?

  • November 11, 2016
  • 1 reply
  • 79 views

lifalin2016
Supporter
Forum|alt.badge.img+39

Hi,

This is a very simple question. I have the XML reader crash over an XML file in one location and not with a copy of the same file in another location.

Is there are limit to how long the path names given to the reader may be ?

In ye olden days I remember something about 127 characters, but I think that's increased significantly since then.

My original file path name length was 120 characters, 129 if the backslashes are doubled (C string). This errs.

My alternative location is only half that, and that works.

Both locations are on the same network drive (and share).

Cheers

 

Lars I.

Best answer by redgeographics

According to a bit of googling it depends on the OS and/or filesystem of the drive itself. Windows 7 apparently has a 260 character limit for drive + path + filename, Windows 10 has removed that limit.

Maybe 32-bit vs 64-bit is another potential cause.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+62
  • Celebrity
  • Best Answer
  • November 11, 2016

According to a bit of googling it depends on the OS and/or filesystem of the drive itself. Windows 7 apparently has a 260 character limit for drive + path + filename, Windows 10 has removed that limit.

Maybe 32-bit vs 64-bit is another potential cause.