search
HomeCommon ProblemHow to fix file names or extensions that are too long in Windows 11?
How to fix file names or extensions that are too long in Windows 11?Apr 22, 2023 pm 04:37 PM
extension nameeditorwindows systemGroup Policy

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, type

regedit 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 .

修复:Windows 11 中的文件名或扩展名太长

# Step 3: Once the Registry Editor opens, navigate to the path given below or copy and paste it in the address bar and click on

Enter key to access it.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

Step 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 the

LongPathsEnabled DWORD value to open it for editing.

修复:Windows 11 中的文件名或扩展名太长

Step 6: In the Edit properties of LongPathsEnabled, enter

0 in the text box, and then click OK, As shown below.

修复:Windows 11 中的文件名或扩展名太长

Step 7: Once completed, close the Registry Editor and restart the system once for the changes to take effect on the system.

See if the problem is solved.

Fix 4 – Enable Win32 long paths using Group Policy Editor

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 the

Windows R key simultaneously, which will launch the Run box.

Step 2: Later, type

gpedit.msc in the run box and press Enter key to open it.

修复:Windows 11 中的文件名或扩展名太长

第 3 步:打开后,使用下面给出的路径目录浏览编辑器的左侧面板以到达 FileSystem。

计算机配置 > 管理模板 > 系统 > 文件系统

第4步:之后,双击启用Win32长路径设置以打开其属性窗口进行编辑。

修复:Windows 11 中的文件名或扩展名太长

第 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!

Statement
This article is reproduced at:云东方. If there is any infringement, please contact admin@php.cn delete
如何解决 Windows 11 中的文件名或扩展名过长的问题?如何解决 Windows 11 中的文件名或扩展名过长的问题?Apr 22, 2023 pm 04:37 PM

您在传输文件时是否遇到过任何问题,并且禁止您这样做?好吧,许多Windows用户最近报告说,他们在将文件复制并粘贴到文件夹中时遇到了问题,其中抛出了一个错误,提示“目标文件夹的文件名太长”。此外,其他一些Windows用户在打开任何文件时表示失望,并说“文件名或扩展名太长”,他们无法打开文件。这不允许他们将文件传输到任何其他文件夹,这让用户感到失望。在分析问题时,我们提出了一系列解决方案,可能有助于缓解问题,用户可以轻松传输文件。如果您也遇到类似情况,请参阅此帖子以了解更多信息。来源:https

如何在Windows 11、10中关闭Windows Defender智能屏幕?如何在Windows 11、10中关闭Windows Defender智能屏幕?Apr 26, 2023 am 11:46 AM

许多Windows用户最近报告说,当WindowsDefenderSmartScreen警告用户不要启动MicrosoftWindows无法识别的应用程序时,他们感到恼火,他们每次都必须单击“仍然运行”选项。Windows用户不确定他们目前可以做些什么来避免或禁用它。在研究了这个问题后,我们发现系统上的WindowsDefender功能可以通过设置应用程序或本地组策略编辑器或通过调整注册表文件来禁用。通过这样做,用户将不再需要面对防守者SmartScreen。如果您的系统也遇到

15 款 Python 编辑器/ IDE 详细攻略,总有一款适合你!15 款 Python 编辑器/ IDE 详细攻略,总有一款适合你!Aug 09, 2023 pm 05:44 PM

写 Python 代码最好的方式莫过于使用集成开发环境(IDE)了。它们不仅能使你的工作更加简单、更具逻辑性,还能够提升编程体验和效率。每个人都知道这一点。而问题在于,如何从众多选项中选择最好的 Python 开发环境。

修复 Windows 11/10 登录选项被禁用的问题修复 Windows 11/10 登录选项被禁用的问题May 07, 2023 pm 01:10 PM

许多Windows用户都遇到过由于登录尝试失败或多次关闭系统而无法登录Windows11/10系统的问题。用户很沮丧,因为他们对此无能为力。用户可能忘记了登录系统的PIN码,或者在使用或安装软件时出现卡顿,系统可能被多次强制关闭。因此,我们制定了一份最好的可用解决方案列表,这些解决方案无疑将帮助消费者解决这个问题。要了解更多信息,请继续阅读本文。注意:在此之前,请确保您拥有系统的管理员凭据和Microsoft帐户密码以重置PIN。如果没有,请等待一个小时左右,然后尝试使用正确的PIN

如何使用 ClipChamp:免费的 Windows 11 视频编辑器如何使用 ClipChamp:免费的 Windows 11 视频编辑器Apr 20, 2023 am 11:55 AM

还记得Windows7上的WindowsMovieMaker吗?自从停止WindowsMovieMaker以来,微软还没有推出任何真正的电影制作者。另一方面,他们尝试用一个小巧轻便的内置视频编辑器来改造照片应用程序。很长一段时间后,微软推出了Clipchamp,这是一款适用于所有Windows11设备的更好的视频处理器。在本文中,我们将深入探讨如何从Windows11设备上的Clipchamp应用程序中获取所有内容。如何使用Clipchamp–详细教程我们提供

Golang编辑器推荐:五个适合开发的选择Golang编辑器推荐:五个适合开发的选择Jan 19, 2024 am 09:00 AM

随着Golang的流行和普及,越来越多的开发者开始使用这门编程语言。然而,和其他流行的编程语言一样,Golang的开发需要选择一款适合的编辑器来提高开发效率。在本文中,我们将介绍五个适合Golang开发的编辑器。VisualStudioCodeVisualStudioCode(简称VSCode)是微软开发的一款免费的跨平台编辑器。它是基于Elect

强烈推荐十个 Python IDE 和代码编辑器!强烈推荐十个 Python IDE 和代码编辑器!Apr 19, 2023 pm 07:04 PM

Python非常易学,强大的编程语言。Python包括高效高级的数据结构,提供简单且高效的面向对象编程。Python的学习过程少不了IDE或者代码编辑器,或者集成的开发编辑器(IDE)。这些Python开发工具帮助开发者加快使用Python开发的速度,提高效率。高效的代码编辑器或者IDE应该会提供插件,工具等能帮助开发者高效开发的特性。1.VimVim可以说是Python最好的IDE。Vim是高级文本编辑器,旨在提供实际的Unix编辑器‘Vi’功能,支持更多更完善的特

如何在Windows 11中禁用USB接口?如何在Windows 11中禁用USB接口?May 08, 2023 am 08:07 AM

USB端口是计算机中非常有用的连接选项之一,可帮助您将笔式驱动器或USB驱动器连接到PC并在几分钟内完成工作。这是来回传输数据的最佳方式之一,无需有效的互联网连接。但是,有时您可能会意识到系统上的USB端口被滥用。例如,任何人都可以未经授权访问您的PC、连接笔式驱动器并窃取数据。这就是为什么,您可能已经注意到在某些组织和教育机构中,禁止使用USB端口的全部原因。在这种情况下,管理员会阻止对USB端口的访问,因此任何尝试使用USB驱动器的人都无法这样做。因此,如果您想禁用Win

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Safe Exam Browser

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.

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!