How to handle length limit of PATH environment variable

Peter Bauer peter.m.bauer@gmail.com
Thu Apr 5 09:19:00 GMT 2018


hi,

i was bitten by the length limit of the PATH variable of 4095 characters 
(see [1]) and could not find a way around it. This means i have a lot of 
software packages in different directories and each of them adds itself 
to the PATH so one can run the executables and have the shared libs 
available. Under Windows there is the "short path workaround" but what 
to do under Cygwin?
Creating links with shorter names to the directories is not feasible 
since there may be different users and different directories per user.

Any ideas?

thx,
Peter


[1] 
https://software.intel.com/en-us/articles/limitation-to-the-length-of-the-system-path-variable

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list