Hi, this is the second time i lost all my files from the folder in wich i kept them.
Every time I enter in the Arduino's IDE i can't see my files and if I search in my computer i can find only 1 KB files with the name of my sketches.
I saved them in a drive but they also disappeard from there leaving only a folder with a subdirectory called "Data".
I don't know what to do now, help me please.
Attached there is the folder.
If you were wondering about the reason for this "Data" folder, that is the place the Arduino IDE stores non-source code files added to the sketch via Sketch > Add File... I don't know whether you were intentionally saving the library .zip file to your sketch via this option, or whether you were trying to install the library and used the wrong option. I see know reason to believe that is related to the disappearance of the sketch files and the Sensors sketch doesn't have a data folder but its .ino file is also missing. However, I will investigate this further once I know which IDE version you're using.
If you have a Windows machine, install Git for Windows and then TortoiseGit which work with GitHub so you can check in your work and have a better history of your changes.
I am also baffled as to how this could come about.
bkucenski:
I highly recommend learning how to use GitHub.com
If you have a Windows machine, install Git for Windows and then TortoiseGit which work with GitHub so you can check in your work and have a better history of your changes.
Ctrl-Z only gets you so far.
Or just use the windows github client, which provides a lovely GUI and shields you from having to learn the intricacies of git.
Putting your files into source control is an excellent course of action though.