Unable to edit file in Notepad++

Some editors lets you save files as Read-Only so it cannot be modified if a file was set read-only using notepad++, the can be made editable by opening the file and going under Edit → Set Read-Only (Uncheck). If a file in the file-system is marked as read-only, it can be made editable by clearing the read-only flag, This can be done by selecting Edit → Clear Read-Only Flag.

If you want to save a file as Read-Only then go to Menu → Edit → Set Read-Only (Check) and save the file.


✌️ Hint: If the file is of type Read-Only then you will see that the Save icon for the file will be gray in color (instead of red → unsaved or blue → saved)

Recent Posts:

Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.