This is the mail archive of the
cygwin
mailing list for the Cygwin project.
How to handle length limit of PATH environment variable
- From: Peter Bauer <peter dot m dot bauer at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 5 Apr 2018 11:19:01 +0200
- Subject: How to handle length limit of PATH environment variable
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