Skip to main content

Filename or extension too long windows

Open Run command by pressing Windows + R and type Regedit and hit enter. This command will open the Registry editor console.


Now navigate to the following path.


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem


From the left-hand side click on the FileSystem and from the right-hand side look for the DWORD named LongPathsEnabled.


Double click on the LongPathsEnabled DWORD and set the Value data as 1 and click on OK.