当您使用Windows 资源管理器(Windows Explorer)时,您是否经常遇到“路径太长(Path too long)”错误?这是因为文件资源管理器(File Explorer)的路径名限制为260 个字符(260 characters)。这意味着如果路径的长度超过 260 个字符,Windows 资源管理器(Windows Explorer)将无法处理它。这有时确实会造成不便,但有一些方法可以解决这个问题。Too Long Paths Detector或TLPD是一个长文件路径查找器和列表工具,可帮助您在Windows系统上检测具有长路径的文件。
长文件路径查找工具 – TLPD
通常,访问具有长路径名的任何文件的一种方法是重命名文件或将其路径转换为较短的长度,以便 Windows资源管理器(Explorer)可以处理它。TLPD,顾名思义,是一个检测器,所以它的主要任务是检测路径长于给定阈值的文件。它不能为您重命名或替换这些文件;它只能检测到它们。
TLPD是一个简单的小型便携式实用程序,用于扫描您的计算机以查找具有长路径的文件。TLPD也很容易使用。您需要做的就是下载并执行与您的系统架构相对应的文件。
然后程序将提示您选择要扫描的位置。您可以选择所需的位置或直接单击“否”来扫描整个计算机。建议扫描整个计算机一次,不会花费太多时间。
在下一步中,您需要输入要扫描的完整路径长度的最大阈值。如果您正在扫描“路径太长”的文件,您可以直接输入任何大于 255 的值。您也可以输入任何其他值来扫描您的计算机以查找超过该长度的路径。
点击“确定”后,TLPD将开始在后台扫描您的计算机。整个系统扫描不会花费很长时间,结果将很快呈现。扫描结果以文本文件的形式呈现,您可以使用任何文本编辑器打开该文件。
扫描结果包含路径长度超过所选阈值数量的所有文件的列表。还会显示路径的大小、文件的类型和实际路径。由于结果为文本格式,因此您可以轻松共享或存储它们。在文件末尾,您还可以查看在您的系统上完成测试所需的时间。在我的电脑上,完成一次完整的系统扫描大约需要 81 秒,但这也取决于文件数量和电脑的处理能力。
TLPD 或 太长路径检测器(Too Long Paths Detector)免费下载
TLPD是一种比任何其他解决方案都简单的工具。对于管理员,TLPD也可以在静默模式下运行,它会自动将结果保存在LOG文件中。访问sourceforge.net下载 TLPD。
供您参考,您还可以通过编辑注册表(Registry)或修改GPO在Windows 11或 Windows 10 中(Windows 11)启用 Win32 长路径(enable Win32 Long Paths)。
奖励提示:(BONUS TIPS:)
- 如果您期待删除具有长路径的文件,您可以查看这个名为SuperDelete的超级漂亮工具。SuperDelete可让您删除所有路径较长且无法使用Windows 资源管理器(Windows Explorer)删除的文件。
- 您可能还想查看Long Path Fixer for Windows。此工具可让您修复Windows(Windows)机器上所有与路径过长相关的错误。该工具还有一个GUI,可以更方便地移动或删除具有长路径的文件。此外,您可以将此工具添加到上下文菜单中以获得更多功能。
TLPD is a long file path finder to detect files with long paths on Windows
Are you facing ‘Path too long’ errors usually when you are using Windows Explorer? That is because File Explorer has a pathname limit of 260 characters. Which means if a path’s length is more than 260 characters, Windows Explorer will not be able to process it. This can really cause inconvenience at times, but there are methods to resolve this. Too Long Paths Detector or TLPD is a long file pathfinder & lister tool that will help you detect files with long paths on Windows systems.
Long File Path Finder Tool – TLPD
Generally, a method to access any file with a long path name is by renaming it or converting its path to a shorter length so that Windows Explorer can process it. TLPD, as the name suggests, is a detector, so its major task is detecting files having a path longer than a given threshold. It cannot rename or replace these files for you; it can only detect them.
TLPD is a simple, small portable utility meant for scanning your computer for files with long paths. TLPD is easy to use as well. All you need to do is download and execute the file corresponding to your system’s architecture.
The program will then prompt you for selecting a location to scan. You can select the desired location or simply click on ‘No’ to scan your entire computer. It is recommended to scan the entire computer once, it does not take much time.
In the next step, you need to enter the maximum threshold of full path length you want to scan for. If you are scanning for files with ‘too long path’, you can simply go ahead and enter any value greater than 255. You can also enter any other value to scan your computer for paths longer than that length.
Once you hit ‘Ok’, TLPD will start scanning your computer in the background. The entire system scan won’t take long, and the results will be presented shortly. The scan results are presented as a text file that you can open with any text editor.
The scan result contains the list of all the files whose path length exceeds the chosen threshold amount. The size of the path, type of the file and the actual path is also displayed. Since the results are in text format, you can easily share them or store them. Towards the end of the file, you can also see how much time it did take to complete the test on your system. On my computer, it took around 81 seconds to complete a full system scan, but that also depends upon the number of files and processing power your computer has.
TLPD or Too Long Paths Detector free download
TLPD is a way simpler tool than any other solution. For administrators, TLPD can also run in the silent mode where it will automatically keep saving the results in a LOG file. Visit sourceforge.net to download TLPD.
For your information, you can also enable Win32 Long Paths in Windows 11 or Windows 10 by editing the Registry or modifying a GPO.
BONUS TIPS:
- If you are looking forward to deleting the files with long paths, you can check out this super nifty tool called SuperDelete. SuperDelete will let you delete all the files having a long path which cannot be deleted using Windows Explorer.
- You might also want to check out Long Path Fixer for Windows. This tool would let you fix all the path too long related errors on your Windows machine. The tool also has a GUI that makes it more convenient to move or delete files with long paths. Moreover, you can add this tool to the context menu for more functionality.