Temp directory location causes crash

Hi,

My TEMP directory in Windows was defined in a different drive (g:) than the one I installed the arduino environment in (c:).
Every time i tried to upload or compile a script I would get the following message
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Couldn't determine program size: C:\Program Files\arduino-0015\hardware/tools/avr/bin/avr-size: 'G:\Temp\build28812.tmp\Blink.hex': No such file

It took me a while to find out, but changing the TEMP environment variable from g:\temp to c:\temp fixed this issue.

Thanks,
Guy

I cannot reproduce this in 0016 by setting TEMP to a place on the T: drive in run.bat and launching the IDE.

If you get a chance, please specify exactly how you are invoking the IDE, and where this environment is changed.

(This is a hint that you don't have to change the system-wide TEMP probably if you hack the run.bat and invoke the IDE from that.)

I am using version 0015 on Windows XP.
I had the windows TEMP environment variable set to g:\temp, and did not change run.bat. Arduino is installed on the C: drive.
It did not matter if I invoked arduino.exe directly or through the batch file.