I am using Emacs-24.3 (and won't upgrade). Running the M-x shell command spuriously creates an unwanted C:\tmp directory. Yes, I am running on Windows (with Cygwin). I've turned off the .emacs start-up as well as killed my .bashrc to isolate this effect to the M-x shell command. I have no TMP or TEMP environment variables that specify C:\TMP, so I think it's default Unix behavior of using /tmp as the std system temp file dir.
In any case, I don't want this behavior on Windows (although I am willing to do whatever it takes to redirect useful behavior somewhere else, e.g. C:\WINDOWS\TEMP).
What do I have to do to suppress creation of this unwanted directory?
(Thanks in advance!)