Open crankedguy opened 7 months ago
I would fix it, but I have no idea where the problem is. I have little knowledge of legacy Windows relic specifics. The problem is probably convoluted with Windows-specific UTF-8 code.
@ktmf01 Would this be of any help to you, especially regarding the mention of the affected/mentioned file management functions?
https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
I also saw that this was literally already documented here https://github.com/xiph/flac/issues/687 so sorry for the somewhat dupe as it comes down to the same problem
the 255byte limit on Windows 10+ is a thing of the past as said since 2016
I just tried setting the LongPathsEnabled
registry key on my Windows 10 22H2 system, and found out both Windows File Explorer as well as the regular command line are unable to deal with such paths. For example, when running any command (for example, netstat) on the command line I get the error 'The current directory is invalid.'
So, it seems this path limit isn't a thing of the past even today. If such basic Windows tools are unable to deal with long paths, I cannot properly troubleshoot a fix, so I cannot fix this.
What should I say to that. I don't write such a post to troll around but I take your word for it that it happened like that.
I enabled this through Group Policy and neither any file explorer (Windows explorer, Directory Opus), nor command line, nor programs that respect that modernization like e.g., foobar have any problems with even 300+ bytes file paths at all.
Of course I respect that it won't be fixed though!
On the other hand there is a lot of software out there that still does not handle it correctly, yes, I am fully with you on that.
Indeed, this file path limit still isn't a thing from the past, sadly…
However, the more pieces of software able to circumvent the limit, the better. That's how the limit will become a thing from the past, hopefully.
(though, Microsoft should at least fix their File Explorer… *cough cough*)
Hi,
would it be possible that flac and metaflac can respect that the 255byte limit on Windows 10+ is a thing of the past as said since 2016. It is more than annoying that in my batch processes both command line programs tell me that no files with the given name exist
The files are perfectly OK and usable, can be tested with any other program (e.g. ffprobe) or loaded (foobar etc,), I have to program workarounds to make testing/executing flac/metaflac possible. It is no offense of course, but I think after 10 years this should be doable.
Please write me a short reply if you intend to fix that, or not.
Many thanks!