How to fix file names or extensions that are too long in Windows 11?
Have you ever encountered any issues while transferring files that prevented you from doing so? Well, many Windows users have recently reported that they faced issues while copying and pasting files into a folder, where an error was thrown saying “The file name of the destination folder is too long.”
Also, some other Windows users have expressed frustration when opening any file and said "the file name or extension is too long" and they cannot open the file.
This disappoints users by not allowing them to transfer files to any other folder. While analyzing the issue, we have come up with a series of solutions that may help alleviate the issue and allow users to transfer files easily.
If you encounter a similar situation, please see this post for more information.
Source: https://helpdeskgeek.com/how-to/how-to-fix-filename-is-too-long-issue-in-windows/
Source: https: //www.youtube.com/watch?v=AWK1Na_9Sg0
Fix 1 – Keep the file name short
- Typically, this happens because the user selected a file name that is smaller than Windows The specific limit set in the policy for the number of characters in the file name is too long.
- So if the user tries to rename the file by selecting the file and pressing the F2 key and try to keep it short and nice for better Understand and press Enter, that would be good.
- After renaming the file, try moving the file to another folder or try opening the file to check if the system still encounters the error.
Fix 2 – Copy the file to another folder with a shorter name
Note: This solution is for those who are able to move the file to another folder but cannot open the file due to a filename or extension too long error.
Step 1: Enter the desktop by pressing the Windows D keys simultaneously on your keyboard.
Step 2: On the desktop, press the CTRL, SHIFT, and N keys simultaneously to create a new folder.
Step 3: Then, go to the folder where the file is located, which is not opening and throwing the error message.
Step 4: After selecting the file, press the CTRL C key to copy the file.
Step 5: Then, go to the newly created folder and paste it there by pressing the CTRL V keys simultaneously on your keyboard.
Step 6: Now try to open the file from the new folder and see if opening the file throws an error.
Fix 3 – Enable long path option in Windows using Registry Editor
Note: Please save/export before proceeding with this step using Registry Editor Make a backup of your registry files, as any small change that goes awry could damage your system software.
Step 1: Press Windows and R keys simultaneously to open the Run command box .
Step 2: Then, typeregedit in the Run box and press the Enter key to open the Registry Editor.
NOTE: If any prompts appear on the screen, click Yes to accept User Access Control to continue .
Enter key to access it.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystemStep 4: Once you reach FileSystem, make sure the
FileSystem registry key is selected on the left panel of the Registry Editor.
Step 5: Then on the right side of the editor, double-click theLongPathsEnabled DWORD value to open it for editing.
0 in the text box, and then click OK, As shown below.
Note: This only applies to users who have Windows Professional Edition where the local Group Policy Editor is available. But if you want to install it on your home version of Windows then refer to this article.
Step 1: To open the Local Group Policy Editor on your system, press theWindows R key simultaneously, which will launch the Run box.
Step 2: Later, typegpedit.msc in the run box and press Enter key to open it.
第 3 步:打开后,使用下面给出的路径目录浏览编辑器的左侧面板以到达 FileSystem。
计算机配置 > 管理模板 > 系统 > 文件系统
第4步:之后,双击启用Win32长路径设置以打开其属性窗口进行编辑。
第 5 步:打开后,选择已启用单选按钮,然后点击应用和确定 以关闭属性窗口。
步骤 6:关闭本地组策略编辑器并重新启动系统一次。
The above is the detailed content of How to fix file names or extensions that are too long in Windows 11?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

Dreamweaver CS6
Visual web development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
