Are temp versions of sketch files saved?

I've had something strange happen... I have a sketch... I haven't saved it yet, though I have compiled it and uploaded the bits to my Arduino. A little while ago, I ran the Windows update tool and updated my system (Windows 7, 64-bit) with the Arduino IDE running (and the sketch unsaved).

As soon as I started the update, I was not able to get back into the Arduino IDE... it's running but I'm not able to switch to the process. My guess is that the Windows updater closed down the Java runtime.

If possible, I'd like to recover the work I did. Though still running, I think the Arduino IDE process is toast at this point, but I was wondering if the Arduino IDE stores temp versions of the sketch files (the un-compiled source code, that is).

Thanks,

Jeff

On every compilation, the IDE makes some temporal files. They are not exactly the same as the original sketch but you can recover the code, open %temp% in Windows. Last directory created should be the one with your code.

I added a option in my modded IDE to simplify this process:

http://arduino.cc/forum/index.php/topic,118440.0.html

Thanks! I'll try this out and report back how it went.

Jeff

Hi Eried,

I was able to locate the file and recover it.

Thanks again!

Jeff

Nice!