Read-only files problem

I just installed Arduino and pulled up a sample sketch. When I try to save it I get an error message:
"Some files are marked "read-only", so you'll need to resave this sketch to another location."
But no matter what I do, I cannot save the sketch anywhere.
Obviously, I have no such problems with any other program.
I am using Windows 10, 64-bit.
Any suggestions?
Thanks,
Robert

Do you get the exact same "Some files are marked "read-only", so you'll need to resave this sketch to another location." message when you try to save the sketch somewhere else, or is the message different?

This message is normal and expected when you attempt to save an example sketch in place, because it could cause confusion if the user accidentally changed an example. We usually assume a sketch like Blink is the same for everyone.

But you should be able to use the Arduino IDE's File > Save As... to save the example to a new location outside the examples folder, and make any modifications you like to that copy of the sketch.

Thanks for the clarification. I moved the files to a new folder and now everything works.

Thanks,
Robert

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.