https://bugs.winehq.org/show_bug.cgi?id=45810
--- Comment #5 from Aaron Simmons paleozogt@gmail.com --- As for the new max of 2048, here's some max path/env var info that I found:
https://software.intel.com/en-us/articles/limitation-to-the-length-of-the-sy... https://blogs.msdn.microsoft.com/oldnewthing/20100203-00/?p=15083
It seems like the answer is sort of complicated. Sometimes its 2047, sometimes its larger. (And of course it depends on the tool/api in use.) At any rate, 2048 would work for my use-case.