Hi,I've only recently started with the Arduino, so only recently installed the IDE version 1.0. For an unrelated reason, I was looking in my computer folder c:\users\<xxx>\AppData\Local\Temp\ and, in there, were over 760 folders related to Arduino, each containing a short text file.It seems that every time the IDE is opened - whether a sketch is loaded or not - the IDE creates three temporary files but only deletes one of them when the IDE is closed.Is this a bug or have I misconfigured something? I can't believe that the IDE is supposed to leave its temporay files behind.Thanks,John.
I guess the question now is which temp files are associated with the arduino. There seem to be more than one type. Time to make a batch file to DEL jna*.tmp and similar.
The third file is named jna1234....567.tmp (no folder) but that one is deleted when the IDE is closed.
Every time you compile, the ide copies your sources into a unique temporary directory, and compiles them there.I don't know how often it creates the unique directory- if it is once per day, or once per running session of the ide.
rem Arduino-cleanup.batrem ===================rem Clean up temporary Arduino files & folders.rem First change directory to locationrem of temporary folders...cd c:\users\john\appdata\local\tempfor /d %%a in (console*.tmp) do rmdir /s /q %%afor /d %%a in (untitled*.tmp) do rmdir /s /q %%a
Sorry to follow my own post but, if anyone is interested, I've written a little batch file. I'll leave it on the desktop alongside the Arduino shortcut. [Use at your own risk!]John.