Go Down

Topic: Are temp versions of sketch files saved? (Read 1 time) previous topic - next topic


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).




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:

My website: http://ried.cl


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



Hi Eried,

I was able to locate the file and recover it.

Thanks again!


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131