I was working on a sketch yesterday but now I can't find it. It's not in the list of Recent Files. I have found a file with the same name but with .cpp after it i.e. L298D.ino.cpp It's in my Appdata folder. That file contains an earlier version of the file I was working on. Can anyone suggest where the file might have got to? I'm sure I saved it not long before I finished working on the PC yesterday.
ronb1949:
I'm sure I saved it not long before I finished working on the PC yesterday.
Clearly you didn't save it, or not at least under the same name, or you've completely forgotten its name.
Might be have been auto-named as sketch_april28a.ino? I suggest getting into the habit of always saving before compiling/downloading, and chosing memorable names.
Also make sure you have a backup system of some sort.
I find Agent Ransack useful in finding lost/mislaid files on Windows. It will search specified folder or folders, or a whole drive or drives, for files with matching names and/or containing specified text