Skip to main content
Solved

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

  • November 11, 2016
  • 1 reply
  • 55 views

lifalin2016
Contributor
Forum|alt.badge.img+29

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.

View original
Did this help you find an answer to your question?

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+49
  • 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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings