Just for the record...

Andy Koppe wrote:
Some (badly written) Windows programs expect TEMP and/or TMP to always
be set to a valid directory and will misbehave when they aren't.

[...]

and if
they're unlucky, stuff might even get overwritten.

For Windows native applications, I adopted this solution in .bashrc

acroread()
{
    TEMP=/home/$USER/Temp \
cyg-wrapper.sh "/WinXP/Programmi/Adobe/Reader 10.0/Reader/AcroRd32.exe" \
        "$@" 2>/dev/null
}

etc.

Ciao,
Angelo.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to