256 character limit

User avatar
DanPihlaja
Posts: 839
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 804
x 973

256 character limit

Unread post by DanPihlaja »

Just hit the 256 character limit:
attachment.png
attachment.png (12.09 KiB) Viewed 1326 times
o[

Now, to be fair, we have a lot of work to do in cleaning up our folder systems....
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
gupta9665
Posts: 405
Joined: Thu Mar 11, 2021 10:20 am
Answers: 25
Location: India
x 426
x 445

Re: 256 character limit

Unread post by gupta9665 »

It's a window limit unfortunately. And file extension is counted as well.
Deepak Gupta
SOLIDWORKS Consultant/Blogger
User avatar
SPerman
Posts: 2035
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2207
x 1860
Contact:

Re: 256 character limit

Unread post 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.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
Frederick_Law
Posts: 1944
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1634
x 1466

Re: 256 character limit

Unread post 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.
User avatar
bnemec
Posts: 1941
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2540
x 1398

Re: 256 character limit

Unread post 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.
User avatar
Frederick_Law
Posts: 1944
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1634
x 1466

Re: 256 character limit

Unread post 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.
TTevolve
Posts: 252
Joined: Wed Jan 05, 2022 10:15 am
Answers: 3
x 84
x 159

Re: 256 character limit

Unread post by TTevolve »

I get the "File path is to long" message in pack and go when trying to make new copies of part sometimes.
KennyG
Posts: 219
Joined: Tue Mar 09, 2021 2:47 pm
Answers: 7
x 44
x 195

Re: 256 character limit

Unread post 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
User avatar
Frederick_Law
Posts: 1944
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1634
x 1466

Re: 256 character limit

Unread post 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.
KennyG
Posts: 219
Joined: Tue Mar 09, 2021 2:47 pm
Answers: 7
x 44
x 195

Re: 256 character limit

Unread post 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!
KennyG
Posts: 219
Joined: Tue Mar 09, 2021 2:47 pm
Answers: 7
x 44
x 195

Re: 256 character limit

Unread post 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!
Post Reply