TMP and TEMP get redefined, but I need the original values

Thorsten Kampe
Sun Jun 12 20:05:00 GMT 2011

* Roland Bluethgen (Sun, 12 Jun 2011 19:55:56 +0200)
> I don't update my Cygwin installation regularly, but recently I did, 
> then a script of mine stopped working.
> Looking for the cause I found out that the Cygwin maintainers chose to 
> redefine the TEMP and TMP environment variables in /etc/profile like this:
> unset TMP TEMP
> TMP="/tmp"
> TEMP="/tmp"
> [...]
> So, any ideas how this could be solved in a clean way?

If you want Linux TMP and Windows TMP point to the same directory then 
mount it in fstab or use $USERPROFILE/AppData/Local/Temp.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list