Cannot open a DWG File - Error message " The file name is too long"

Cannot open a DWG File - Error message " The file name is too long"

Anonymous
Not applicable
10,440 Views
7 Replies
Message 1 of 8

Cannot open a DWG File - Error message " The file name is too long"

Anonymous
Not applicable

NEED Help

I cannot open some of DWG file. The error message is 

Capture.PNG

 

 

0 Likes
Accepted solutions (2)
10,441 Views
7 Replies
Replies (7)
Message 2 of 8

kennyj
Collaborator
Collaborator
Accepted solution

Hello @Anonymous!

 

I have run into this before; it appears the software includes the file structure in the folder name - so if you file is located inside a folder, inside of another folder, etc.  each folder name adds to the total file name.

 

Try moving the file to the desktop to see if it will open.  If it does, you may need to change your file names/structure as well as the actual file name.

 

(keep in mind this affects XRefs, too).

 

Hope this helps,

 

Kenny

 

Message 3 of 8

Anonymous
Not applicable

This happens when people use entire sentences for directory names (with spaces and punctuation), those people should be knee-capped.  There is no intelligent reason a directory name needs to exceed 10 or 12 characters.  If I know the project number i don't need the project title, client name, address and eye color included int he directory name.  We worked without issue for years with an 8 character limit.  Just because you can, doesn't mean you should.

 

""Individual components of a filename (i.e. each subdirectory along the path, and the final filename) are limited to 255 characters,"" 

0 Likes
Message 4 of 8

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

Have you tried temporarily renaming the file to something like 1.dwg? If that works then you need to consider the filename as well as the filepath.

 

What is the current path and filename?

 

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 5 of 8

scot-65
Advisor
Advisor
Accepted solution
And yet another possible solution...

Map a network drive to the grandparent folder (or similar).
Then, select that network drive and browse to the file.
Double-click.

Example:
X:\test\your\knowlede\of\the\network\drive\for\AutoCAD\Projects\Files\Drawing1.dwg

Map a drive (Y:) to:
\\test\your\knowlede\of\the\network\drive\for\AutoCAD

The result:
Y:\AutoCAD

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

Message 6 of 8

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

I am checking back to see if my post or others helped you with your problem. Please add a post with how you decide to proceed and your results so other Community members may benefit.

 

Please hit the Accept as Solution button if a post or posts solves your issue or answers your question.

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 7 of 8

Anonymous
Not applicable
To resolve these issues for currently Windows versions or windows servers is a software named "LONG PATH TOOL", I suggest everyone a software “Long Path Tool“ which can solve all the long path problems.
0 Likes
Message 8 of 8

cyril.john
Community Visitor
Community Visitor
Yes Bro its worked. thanks.
0 Likes