Length of Path in Windows
Solved
ledanois
Posted messages
266
Status
Member
-
babsoni -
babsoni -
Hello everyone,
I have a little problem:
It seems that in Windows, when creating a file in a folder, the maximum path length is 256 characters.
I would like to know if we can change this value?
Thank you for your answers
--
Lao Tzu said:
"When it rains in summer, the roads are wet"
I have a little problem:
It seems that in Windows, when creating a file in a folder, the maximum path length is 256 characters.
I would like to know if we can change this value?
Thank you for your answers
--
Lao Tzu said:
"When it rains in summer, the roads are wet"
4 answers
1. Right-click on "Computer" (or "This PC")
2. Click on the "Advanced" tab
3. Click on "Environment Variables"
4. In the lower section titled "System variables," click "New" to create a new system variable
5. Give a new name that doesn't exist in the list, e.g., "extendpath"
6. In the value field, cut the value of the PATH variable and paste it. (It's as if you just duplicated the PATH)
7. In the value of the PATH variable, put %extendpath%
8. Click OK, OK, OK
9. To verify it works, open the command prompt (cmd) and type echo %extendpath% and echo %path%. You will see that both environment variables have the same content, but the Path has (length(%extendpath%) which is 12 characters, not 255, and you're done.
2. Click on the "Advanced" tab
3. Click on "Environment Variables"
4. In the lower section titled "System variables," click "New" to create a new system variable
5. Give a new name that doesn't exist in the list, e.g., "extendpath"
6. In the value field, cut the value of the PATH variable and paste it. (It's as if you just duplicated the PATH)
7. In the value of the PATH variable, put %extendpath%
8. Click OK, OK, OK
9. To verify it works, open the command prompt (cmd) and type echo %extendpath% and echo %path%. You will see that both environment variables have the same content, but the Path has (length(%extendpath%) which is 12 characters, not 255, and you're done.
Well, we will have to find shorter names for the files...
According to this:
https://en.wikipedia.org/wiki/NTFS
We have reached the maximum number of characters for the file... I don't think it's circumventable.
--
See you later
According to this:
https://en.wikipedia.org/wiki/NTFS
We have reached the maximum number of characters for the file... I don't think it's circumventable.
--
See you later
dje-dje
There are 10 types of people in the world Those who understand binary and the others