ReadOnly flag
-
If I have a file in my system and it’s read only, once opened in NP++ I cannot edited, obviously. If I right-click it’s tab and click the “Clear Read-Only flag” option, the file becomes editable in NP++ and the read-only attribute gets changed in the file system. Which is also, expected.
But, after I make all my editions in the file and save it, if I again right-click it’s tab and click the “Read-Only” option the file is only “locked” within NP++ but the attribute in the file system remains false.
Is there a way to change the file system attribute back to readonly from NP++? -
@Nachitous-.- said:
Is there a way to change the file system attribute back to readonly from NP++?
Using a native, builtin Notepad++ command: not that I know of.
Using Notepad++ to call a Windows system command, yes: Open the Run > Run… menu, and run the command
cmd /C attrib +R "$(FULL_CURRENT_PATH)". You could even click Save… in that dialog box, and assign it to a keyboard shortcut if you want to have that command easily available. -
That’s good enough.
Thank you :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login