Windows do not support a long file path by default, this article will tell you how to enable it in win 10 home edition.
1. Enable Regedit In Win 10.
- Right-click the windows start button at the bottom left corner, then click the Run menu item.
- Input regedit in popup dialog input text box and click Ok button.
- If it shows an error message like Can not find command regedit, then you need first enable regedit in win 10.
- Create a windows bat file such as add_regeidt.bat, then copy the below code into it and save it.
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System” /t Reg_dword /v DisableRegistryTools /f /d 0
- Right-click add_regedit.bat file, then click Run as administrator menu item to execute the bat file.
- When the above bat file executes, a dos window will flash and then disappear, this means regedit has been enabled in win 10 successfully.
2. Enable NTFS Long Path In Win 10.
- Open regedit in step 1.
- Then click to open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem path.
- In the right panel, there is a DWORD(32-bit) value which name is LongPathsEnabled.
- Double click the LongPathsEnabled name, then update the value to 1.
- If the LongPathsEnabled registry key does not exist. Then right-click the FileSystem folder, click New —> DWORD(32-bit) Value menu item to add a new registry key, input key name LongPathsEnabled and set its value to 1.
- Now restart the PC and the NTFS long path has been enabled.