Limitation of setenv for tcsh: Too many arguments

Fri Jan 8 10:13:25 GMT 2021

Dear all,

There is a limitation for tcsh (setenv: Too many arguments) to set the PATH environmental variable as you can see in the attached file with the steps to reproduce it. It probably looks like tcsh limitation and not Cygwin. The "set path=( ${HOME}/bin $path)" is not complaining and sets the path, but it also interprets the space in the paths as a separator. The only Cygwin related issue is probably the /usr/bin that it is added twice. Any workarounds?


Application Architect
CONSULIAT (under contract with the EEAS)
Office: EEAS B100 Floor 5 Area 048
Rue Belliard 100, 1000 Brussels
Phone: +32 2 584 6017

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tcsh-setenv-issue.txt
URL: <>

More information about the Cygwin mailing list