Page 1 of 1
Bug: Long path cannot open file (regression since v26.70)
Posted: 20 Apr 2026 06:12
by 85152727@qq.com
Hi Donald,
I found a regression bug with long paths in recent versions.
- XYplorer version: YOUR_VERSION (e.g. 27.20.1204 32-bit / 64-bit)
- Windows version: Windows 10/11 Pro 22H2
- Issue: Cannot open files with very long paths (over 260 chars).
- Last good version: v26.70 (works fine)
- Broken versions: v27.x, v28.x (all newer)
Example path (cannot open .doc):
E:\08-美国公司\D02-房地产开发项目\D02-招标采购\EE-87【工程-2020-FCKF-F181】房地产开发项目高层住宅区地库地坪、划线、交通设施工程施工合同-美国西雅图工程有限公司-112.456789万-9%-2020.08.27\F01-【施工方】费用上报-参数(面积与造价)-v1.0版本\00-美国房地产地库开发品质地库全套施工图(仅自行对照地坪相关图纸) 2020.01.12\01.大区地库精装施工图\美国房地产开发品质地库已盖章合格图纸cad格式\建筑\地库美化精装修设计\20200802美国房地产开发物料表.doc
Behavior:
- v26.70 and earlier: opens normally, no error.
- v27.x+: error "path too long" or fails to open, cannot launch associated application.
Configuration:
- Support overlong filenames: ON
- System long paths enabled: YES
Please fix this regression. Thanks!
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 20 Apr 2026 13:05
by admin
1) How exactly do you open the file? Double-click?
2) Are you using any custom file associations for this file type within XYplorer? (Tools | Customize File Associations...)
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 21 Apr 2026 03:50
by 85152727@qq.com
I have tried opening it by double-clicking, as well as via the "Open with" option in the right-click menu, but I keep getting an error that Word cannot open or save this file because the path name is too long.
I have set up file associations, but I still cannot open it properly.
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 21 Apr 2026 03:54
by 85152727@qq.com
By the way, the same folder path could be opened smoothly in version 26.70.06 without any error message about the path being too long.Also, the file can be opened without issues from Windows’ native File Explorer (explorer.exe).
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 21 Apr 2026 11:21
by admin
This could be the culprit:
Code: Select all
v26.80.0404 - 2025-02-05 19:18
! Opening Overlong Items: A LongPathAware Windows 10 or 11 had problems with opening
overlong items by double-click or ENTER, ironically. Fix attempt. Might be a
regression for some systems though. The whole business is darker than black, thank
you, Microsoft.
Could you please verify this by testing this version and the version right before:
v26.80.0403:
viewtopic.php?p=227241#p227241
v26.80.0404:
viewtopic.php?p=227260#p227260
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 22 Apr 2026 05:01
by 85152727@qq.com
In version v26.80.0403, files with long paths can be opened normally. However, in version v26.80.0404, the files fail to open. The issue appears to have started occurring starting from v26.80.0404.
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 22 Apr 2026 05:11
by 85152727@qq.com
Is there any way to fix this issue? As an XYplorer user, I believe the basic and core function of XYplorer is to quickly locate and open target files. If long-path files can only be opened via Windows’ built-in File Explorer (explorer.exe), I will have to choose not to upgrade the software until the problem is resolved.
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 22 Apr 2026 10:45
by admin
1) What is your system setting for LongPathAware? You find it in the 7th line of Help | Various Information.
2) What is your setting for tweak OpenOverlongNoDOS83? Check it in XYplorer.ini.
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 23 Apr 2026 00:49
by 85152727@qq.com
My settings are as follows:
Windows UI Language: ChineseSimplified, LongPathAware: Yes
OpenOverlongNoDOS83=0
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 23 Apr 2026 00:58
by 85152727@qq.com
With the same Windows system settings and environment, as well as identical XYplorer configuration, version 26.70.06 can open long-path files smoothly, whereas version v26.80.0404 and later versions fail to open such files.
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 23 Apr 2026 08:32
by admin
Please try the new tweak
OpenOverlongForceDOS83=1 in this beta version:
viewtopic.php?p=237323#p237323
How to tweak:
https://www.xyplorer.com/faq-topic.php?id=tweak
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 23 Apr 2026 11:37
by 85152727@qq.com
This method has perfectly solved my problem. Thank you for your generous help. I sincerely wish and hope that the software will become more and more perfect.
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 23 Apr 2026 12:34
by admin
Okay!
Did this only affect DOC files? If yes, which version of Word are you using?
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 23 Apr 2026 13:12
by 85152727@qq.com
No, this issue affects the opening of **all files**, not just office software. Files such as CAD drawings also cannot be opened normally.
Re: Bug: Long path cannot open file (regression since v26.70)
Posted: 23 Apr 2026 13:24
by admin
Thanks. I'll make it an official option in Configuration.