Skip to main content

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.

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