All my .ino files are lost!

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.

Arduino.zip (623 KB)

It sounds like you might have re-directed the sketches folder to somewhere it does not like.

If you open the IDE and select PREFERENCES what is the folder path for SKETCHBOOK LOCATION ?

Dont forget if you change those paths then you should also copy your sketches from thier old location too.

Also what happens if you do a computer search for " *.ino"

I'm very sorry to hear this Calamario.

Which version of the Arduino IDE are you using?

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.

I solved the problem reinstalling the IDE, it was the only one way but all the files are lost, they weren'tin the computer.
Thanks for the support.

It’s worth while making a backup of your sketches , as with any other important data on your computer, from time to time .

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.

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.