Greetings, john daintree!

> My understanding is that Cygwin maps $TMP and $TMPDIR (and probably others)
> to a Windows form (/cygdrive/c/tmp  -> C:\tmp)

Nop. The actual mapping depends on your settings, but defaults to /tmp which
is inside Cygwin installation root.
Another option is to mount /tmp with 'usertemp' option, which would then
redirect it to the user's %TEMP%.

> when calling a WIN32 program
> (e.g. cmd.exe). Is it possible, from bash or from Cygwin startup , to add
> additional environment variable names so that they  are also automatically
> mapped in the same way?

What is your question, exactly?
What you want to achieve and what your actual observation compared to expected
behavior?


-- 
With best regards,
Andrey Repin
Friday, January 27, 2023 10:41:46

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

Reply via email to