"Invalid file name" when opening drawings in AutoCAD products

Autodesk Support

Oct 10, 2023


Products and versions covered


Issue:

When opening a drawing in AutoCAD products the following error is shown. The drawing then fails to open.
 

AutoCAD Message

Invalid file name.
image.png

 

Environment:

Windows OS.

Causes:

The complete path of the drawing (including folders) exceeds the Windows OS limitation of 255 characters.

Solution:

Do any of the following:
  • Move the DWG files to a folder with a shorter path.
  • Rename one or more folders, and/or the drawing file, to use a shorter name.

Products:

AutoCAD Products;


Was this information helpful?


Need help? Ask the Autodesk Assistant!

The Assistant can help you find answers or contact an agent.


What level of support do you have?

Different subscription plans provide distinct categories of support. Find out the level of support for your plan.

View levels of support