Greetings, KAVALAGIOS Panagiotis (EEAS-EXT)! > PATH is indeed yet another headache. We are trying to prepend or append > entries to set correctly the behaviour by overriding other applications to > no avail. Issues can still be faced.
This is why I do @ECHO OFF SET OLDPATH=%[PATH] SET _CBIN=%@RTRIM[\,%@PATH[%@FULL["%~0"]]] SET _CLBIN=%@RTRIM[\,%@PATH[%[_CBIN]]]/usr/local/bin SET PATH=%[_CLBIN];%[_CBIN] DO _path IN /T";" /L %[OLDPATH] IFF "%[_path]" == "%[_CLBIN]" THEN CONTINUE ENDIFF IFF "%[_path]" == "%[_CBIN]" THEN CONTINUE ENDIFF SET PATH=%[PATH];%[_path] ENDDO UNSET OLDPATH _CBIN _path in my cygwin startup wrapper. The regular path do contain /bin but not at the front. -- With best regards, Andrey Repin Wednesday, November 11, 2020 13:37:47 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple