256 Character Limit File Path Issue

256 Character Limit File Path Issue

jcharronYJF55
Contributor Contributor
1,470 Views
16 Replies
Message 1 of 17

256 Character Limit File Path Issue

jcharronYJF55
Contributor
Contributor

When trying to save in Inventor for eg. Frame Generator parts, I get the error "The System cannot find the file specified -> the Database in c:\[258 characters] could not be saved" or I get the error at Frame Generation where the filepath just glares red at me. 

 

I have already edited the windows registry though to turn on the flag for LongPathsEnabled, which is what documentation has been steering me toward on this issue. 

 

This is Windows 11 Pro. 

 

I don't really know how to proceed.

 

I would go about restructuring my folder and file tree where I have all my files, but I already have enough files where this would cause me a significant amount of time and headache (days, and multiple tylenol) to move and restructure everything while keeping/breaking file/drawing/assembly dependencies intact (I have had bad experiences thus far with Pack and Go as well). A shame really, the first 91 or so chars are out of my control, it's just how we're set up in our collaboration space (C:\users\...\ACCDocs\...), and the rest if I don't use enough descriptors things *will* get lost and I don't want to resort to some wonky internal hexadecimal system where I have to know my project TK421 from project QZX989 just to save on characters. And the Frame generator itself wants 30 chars just for the frame .ipt itself, + "\Frame\", and X+2 chars for a subfolder it names based off the name of the assembly file it's being designed into. So I only have about 100 chars to handle my own folder tree and name my project files, which is becoming a bit of a hangup. 

0 Likes
Accepted solutions (1)
1,471 Views
16 Replies
Replies (16)
Message 2 of 17

bradeneuropeArthur
Mentor
Mentor

Seems that you have done this already, right?

 

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/The-Windows-10-def...

 

https://outsourcedit.co.nz/fixing-the-256-character-file-name-limit-in-windows-10-11/#:~:text=Go%20t....

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 3 of 17

jcharronYJF55
Contributor
Contributor

Yes, I have done that:

 

regeditlongpath.png

 

And the file path is based on my C:\ drive though it is what ACC Docs has to sync to. Don't know if relevant but mention to be sure. 

0 Likes
Message 4 of 17

johnsonshiue
Community Manager
Community Manager

Hi! Even though Long File Path is enabled in Windows, I don't think Inventor supports it. You need to limit the file path, including the file name to be less than 256 characters.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 5 of 17

jcharronYJF55
Contributor
Contributor

That is not what Autodesk's own documentation says,

 

"Autodesk products do not have their own internal path length limits and are only limited by the limits of the Windows operating system."

 

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/What-is-the-maximu...

 

0 Likes
Message 6 of 17

jcharronYJF55
Contributor
Contributor

I guess my recourse right now is we abbreviate the folder tree and tell my colleagues to reopen their .ipj files from explorer to restore their projects in their 'new' file paths. I'd still like to know that this is resolvable though because frame tool loves making its own subfolders and verbose part names. 

0 Likes
Message 7 of 17

Mario.VanWiechen
Advocate
Advocate

@jcharronYJF55 wrote:

I guess my recourse right now is we abbreviate the folder tree and tell my colleagues to reopen their .ipj files from explorer to restore their projects in their 'new' file paths. I'd still like to know that this is resolvable though because frame tool loves making its own subfolders and verbose part names. 


Dont let it, I put the frame members in the same directory as the rest of my parts with short filenames. No BS directories and filenames

Do the work on the front end so you do not have issues like you have now

Learn to use the "File Naming Default " window

 

MarioVanWiechen_0-1740066042945.png

 

This is what my frame member directory looks like, you could add a minor desciption if it suited you

 

MarioVanWiechen_1-1740066227290.png

 

 

Message 8 of 17

jcharronYJF55
Contributor
Contributor

Where do I pull up this menu of options? Thanks

0 Likes
Message 9 of 17

Mario.VanWiechen
Advocate
Advocate

@jcharronYJF55 wrote:

Where do I pull up this menu of options? Thanks


MarioVanWiechen_0-1740070003517.png

 

Message 10 of 17

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Find it here:

bradeneuropeArthur_0-1740076228611.png

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 11 of 17

jcharronYJF55
Contributor
Contributor

Excellent

 

Screenshot 2025-02-25 095935.png

 

0 Likes
Message 12 of 17

johnsonshiue
Community Manager
Community Manager

Hi! The article you mentioned is a bit confusing. Essentially, it says Windows dictates the path length. Inventor isn't capable of processing file name longer than 256 regardless of Windows' limitation.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 13 of 17

k.hendrickx
Advocate
Advocate

Hi, I also just ran into this issue trying to have a nice folder structure for assembly and sub-assembly storage and came across what might be a sufficient workaround.

 

Apparently Inventor seems (as far as I have tested it) to handle shortcuts to folders quite well.

This means that you could place a shortcut to a folder that isn't as deep in your folder, and Inventor will redirect to this folder instead.

 

It seems to be working for assemblies (even existing ones); I haven't tried it yet with drawings or other linked documents though, so please test it for yourself before overhauling your folder structure using these shortcuts, but still worth mentioning, I guess.

 

wkr

 

0 Likes
Message 14 of 17

lewisanna2025
Community Visitor
Community Visitor

Yes, you can use Long Path Tool to solve this issue. Here's how:

  1. Download Long Path Tool from

  2. Install and open the software.

  3. Use the tool to:

    • Delete files/folders with long paths.

    • Move or copy data from deep directories.

    • Rename nested folders to shorter names.

0 Likes
Message 15 of 17

johnsonshiue
Community Manager
Community Manager

Hi Lewis,

 

It may appear working. But Inventor does not support file path longer than 256 characters internally.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 16 of 17

charlotjohanson8954
Observer
Observer

You can use tools like Gs Richcopy 360 or Goodaync to copy or move long path name files without having to shortening every file name

0 Likes
Message 17 of 17

bomblotus03
Community Visitor
Community Visitor

You can try using a tool like LongPathTool. It helps manage and delete files or folders with long path issues easily.

0 Likes