Page 1 of 1

256 character limit

Posted: Thu Aug 08, 2024 11:30 am
by DanPihlaja
Just hit the 256 character limit:
attachment.png
attachment.png (12.09 KiB) Viewed 1353 times
o[

Now, to be fair, we have a lot of work to do in cleaning up our folder systems....

Re: 256 character limit

Posted: Thu Aug 08, 2024 12:31 pm
by gupta9665
It's a window limit unfortunately. And file extension is counted as well.

Re: 256 character limit

Posted: Thu Aug 08, 2024 1:41 pm
by SPerman
gupta9665 wrote: Thu Aug 08, 2024 12:31 pm It's a window limit unfortunately. And file extension is counted as well.
Which is really frustrating when using Microsoft Onedrive, which can add a significant number of characters of its own as a prefix.

Re: 256 character limit

Posted: Thu Aug 08, 2024 2:34 pm
by Frederick_Law
I keep telling sales not to make running sentence part number.

It is a Windows limit which is resolved.
Lot's of programs just never update their library to use updated Windows function.
Or cannot because they use 3rd party libraries that are not in business anymore.

Re: 256 character limit

Posted: Thu Aug 08, 2024 4:27 pm
by bnemec
Frederick_Law wrote: Thu Aug 08, 2024 2:34 pm I keep telling sales not to make running sentence part number.
..or running sentence directory names 10 levels deep.

In general keeping sales away from CAD and PDM helps.

Re: 256 character limit

Posted: Thu Aug 08, 2024 5:38 pm
by Frederick_Law
bnemec wrote: Thu Aug 08, 2024 4:27 pm In general keeping sales away from CAD and PDM helps.
Not when they used to own the company.
Slowly cutting them down.

Re: 256 character limit

Posted: Fri Aug 09, 2024 8:27 am
by TTevolve
I get the "File path is to long" message in pack and go when trying to make new copies of part sometimes.

Re: 256 character limit

Posted: Mon Aug 12, 2024 10:11 am
by KennyG
It's a default setting to limit the path to support older apps built in the 32-bit Windows era. The true path limit is actually closer to 32,767 characters long, but you would need to enable the longer paths and I'm guessing many apps may not like it.

Here is the MS Article on it.
https://learn.microsoft.com/en-us/windo ... s=registry

Re: 256 character limit

Posted: Mon Aug 12, 2024 1:03 pm
by Frederick_Law
KennyG wrote: Mon Aug 12, 2024 10:11 am It's a default setting to limit the path to support older apps built in the 32-bit Windows era. The true path limit is actually closer to 32,767 characters long, but you would need to enable the longer paths and I'm guessing many apps may not like it.

Here is the MS Article on it.
https://learn.microsoft.com/en-us/windo ... s=registry
Yes, old program/library need to update to new Windows API to use long file path.
Some of them are still using code from 8bits DOS.

Re: 256 character limit

Posted: Mon Aug 12, 2024 3:24 pm
by KennyG
Frederick_Law wrote: Mon Aug 12, 2024 1:03 pm Yes, old program/library need to update to new Windows API to use long file path.
Some of them are still using code from 8bits DOS.
Yes, I've seen a few that convert paths to the 8.3 format still... It is so annoying!

Re: 256 character limit

Posted: Mon Aug 12, 2024 3:47 pm
by KennyG
Frederick_Law wrote: Mon Aug 12, 2024 1:03 pm Yes, old program/library need to update to new Windows API to use long file path.
Some of them are still using code from 8bits DOS.
Yes, I've seen a few that convert paths to the 8.3 format still... It is so annoying!