1.) go to home path of cgwin

2.) vi ~/.bashrc

3.) set variable in this file like this:


export TMP=/tmp export TEMP=/tmp