256 character limit

User avatar
DanPihlaja
Posts: 862
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 815
x 993

256 character limit

Unread post by DanPihlaja »

Just hit the 256 character limit:
attachment.png
attachment.png (12.09 KiB) Viewed 2359 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: 420
Joined: Thu Mar 11, 2021 10:20 am
Answers: 25
Location: India
x 438
x 459

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: 2080
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2256
x 1902
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: 1952
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1648
x 1477

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: 1954
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2562
x 1411

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: 1952
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1648
x 1477

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: 257
Joined: Wed Jan 05, 2022 10:15 am
Answers: 3
x 87
x 168

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: 225
Joined: Tue Mar 09, 2021 2:47 pm
Answers: 7
x 44
x 197

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: 1952
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1648
x 1477

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: 225
Joined: Tue Mar 09, 2021 2:47 pm
Answers: 7
x 44
x 197

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: 225
Joined: Tue Mar 09, 2021 2:47 pm
Answers: 7
x 44
x 197

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