Up until Windows 8, you were not able to have file paths that were longer than 260 characters on your Windows computer. However, that changes with the launch of Windows 10 as you can now have file paths that exceed the previous limit of 260 characters on your computer. The feature that enables this does not come turned ON by default, but you can always go into the settings and get it turned ON from there.
To enable the file paths longer than 260 characters on your Windows 10 computer, you need to modify the registry of your computer or use the Group Policy Editor to do that, if you have access to it.
In the following guide, we show you both the ways to do the task. So, let’s get started:
Using Registry Editor to Enable Paths Longer Than 260 Characters in Windows 10
This one modifies the registry so please be careful and follow all the steps to the letter or you end up messing your computer.
1. Click on the Start Menu and search for and click on Regedit when it appears. It launches the registry editor for your Windows 10 computer.
2. When the Registry Editor launches, head to the following path where the option that we want to enable is located. To get to the following path, you can click on the various sections in the left-panel of the editor.
3. Once you have reached the desired folder in the editor, you will be able to see a value called LongPathsEnabled in the right panel as shown below. The LongPathsEnabled is the option that allows you to enable longer file paths on your computer.
Double-click on the value to be able to modify it.
4. When the dialog box launches for the value, enter 1 in the field that says Value data and then click on OK to save the changes.
5. Exit out of the Registry Editor by clicking on X in the top-right corner of the window.
That is all.
You can now have paths longer than 260 characters on your Windows 10 computer as the option that allows you to do this has been turned ON from the Registry Editor.
There’s an easier way to do the task if you have access to the Local Group Policy Editor on your computer. Here’re the steps for that as well:
Using Local Group Policy Editor to Enable Longer Paths in Windows 10
1. Click on the Start Menu and search for and click on gpedit.msc. It will open the Local Group Policy Editor on your computer.
2. When the editor launches, click on Computer Configuration->Administrative Templates->System->Filesystem in the left-panel to get to the directory where the option we want to enable is located.
3. Once you are in that directory, you can see a value called Enable Win32 long paths in the right-panel. Double-click on it to change its value.
4. A dialog box should launch where you can modify the value of the chosen option. In our case, you just need to click on Enabled on the top and then click on OK at the bottom to save the changes.
What you did above was enable the option and then save the settings.
5. Exit out of the Local Group Policy Editor by clicking on the X in the top-right corner of the window.
There you go.
You have successfully enabled paths longer than 260 characters on your computer that runs Windows 10.