Windows 10 limits the file names

Windows 10 is killing me. I want to write some file names with more than 80 characters. I have a folder path like that: C:\Users\MyUser\Documents\Formations\Maitriser les outils vectoriels d Illustrator et de Photoshop\Illustrator CC - L art des courbes vectorielles\02 - Demarrer cette formation sur Illustrator CC. When I create a file into that folder and start typing the file name Windows only let me type only 50 characters. For example: Nouveau document texte jhkds fjkdshfkj sfhjsdh.txt. When I get into C:\Users\MyUser\Documents\Formations\Maitriser les outils vectoriels d Illustrator et de Photoshop\Illustrator CC - L art des courbes vectorielles it let me write at maximum 99 characters like Nouveau document texte khfjddjg djfhjdshf jdshf sdfsjdfjsd fds fsd fjsdfjdsjfhsdjfh djsfhjsdhfj.txt. When I get into C:\Users\MyUser\Documents\Formations\Maitriser les outils vectoriels d Illustrator et de Photoshop it allows me to write a file name with maximum 147 characters like Nouveau document texte djkshfkjs djfk hfjdshjf jshfjhsd fjshfjs dhfjhs djfhsjdhf jsdhfjhsdj fhds fhsdj fjdshfj hsdjhf sdhfjh sdjhf shdjf sjdhf .txt. each time I get closer to c:\ it increases the filename maximum length.

I even create a Python script to try to create a filename longer than the maximum allowed by Windows, Python throws an exception like File or directory not found (something like that).

I have LongPathsEnabled set to 1 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.

My Hard drive is GPT and NTFS, it has 2 NTFS partitions.

What is wrong with Windows? How to fix it?


Windows Explorer does not support long paths and does not correctly handle the LongPathsEnabled registry entry.

You may file a bug report with Microsoft using the Feedback Hub, but I assume that many others have already done that before you, but with no effect.

Your only options as I see them are:

  • Shorten the folder name using the subst command to give a phony drive-letter to part of the path. For example:

    subst z: "C:\Users\MyUser\Documents\Formations\Maitriser les outils vectoriels d Illustrator et de Photoshop\Illustrator CC - L art des courbes vectorielles"
    
  • Use a third-party file-manager, other than Explorer. For a large choice, see the article:
    Best Free File Manager.
    I also add here Altap Salamander 4.0 Freeware.