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?
Long paths support
.LongPathsEnable
entry is in place, Windows Explorer is still limited. And as Ramhound points out, Python is also tricky. Just because it is enabled in the registry, it doesn't mean that every application can handle long paths. Try a third-party file management tool.LongPathsEnabled
only works when the application includes the longPathAware element in its manifest. It's not a global flag. And Explorer still doesn't have good long file name support so you'll have to work with command line