When copying, creating, saving or moving files and folders in Windows, you may encounter errors such as “File name too long” and others that have to do with too long file and folder names.
The main ways of correcting mistakes:
- Use shorter file names.
- Include support for long paths.
- Use file managers which can handle long paths by default (Total Commander, Files,7-Zip File Manager, etc.).
Registry editor:
- Right-click on the Start button and select Run or press Win+R on your keyboard.
- Enter regedit and press Enter.
- In the registry editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
- In the right pane of the registry editor, double-click the parameter named LongPathsEnabled and set the value to 1 instead of 0 for this parameter.
- Close the registry editor, restart the computer
Local Group Policy Editor:
- Press Win+R on your keyboard and type gpedit.msc.
- Go to Computer Configuration – Administrative Templates – System – File System.
- Double-click the Enable Win32 Long Paths option.
- Set this option to “Enabled” and apply the settings.
- Close the local group policy editor and restart the computer.
Related posts:
How to enable DNS over HTTPS in Windows 11
How to fix DX11 feature level 10.0 is required error in Windows
How to disable UAC in Windows 11
How to open control panel Windows 11
How to set default printer in Windows 11
How to reset network settings windows 11
How to fix binkw32.dll was not found error Windows 11
How to fix RegSvr32.exe error Windows 11
How to open Disk Management in Windows 11
How to fix binkw64.dll was not found error Windows 11
How to delete Microsoft Edge Windows 11
How to fix amd_ags_x64.dll not found error Windows