Hi Guys,
I have a set of files I do NOT want deleting.
(I want to write protect them)
I have been playing around with file permissions
inside Windows 10.
I find them very long winded and prone to making mistakes.
Or they just plain don't work after setting them up.
Is there a quicker easier way of doing this inside XYplorer ver 22.30.0200 ?
Batch handling of files would also be very useful in this context?
Here is an example of what I am referring to.
1. Right mouse click on "TestFile.TXT
2. Click on Properties
3. Click on Security Tab
4. Click on Advanced Tab
5. Click on Disable inheritance
6. A prompt will appear with two options in it. Select the one that says Convert inherited permissions into explicit permissions on this object.
7.You’ll now see all of your user accounts listed on your screen. Click on the account that you want to prevent from deleting your file and then click on the Edit button. It’ll let you edit the file permissions for your selected account.
8. Click on Deny from the Type dropdown menu.
Thank You.........
Quick way to use file permissions ?
Re: Quick way to use file permissions ?
Possible to do this via XY scripting? Sure (and no, there is no other way)
Quicker? Probably
Less error prone? That depends on the user^^
Have fun with: https://ss64.com/nt/icacls.html
Quicker? Probably
Less error prone? That depends on the user^^
Have fun with: https://ss64.com/nt/icacls.html
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 26
- Joined: 30 Dec 2014 15:35
Re: Quick way to use file permissions ?
Thank you highend.
I will take a look at your Link.
I will take a look at your Link.
Re: Quick way to use file permissions ?
Depending on your exact needs, you might also want to search for AccessControl, here and in the XY help.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
- Posts: 26
- Joined: 30 Dec 2014 15:35
Re: Quick way to use file permissions ?
Thank you
Re: Quick way to use file permissions ?
1. This would not be an "on the fly" operation (adding folders to the necessary .ini file)
2. You can't do things per directory, disallowed operations like "delete" are global
2. You can't do things per directory, disallowed operations like "delete" are global
One of my scripts helped you out? Please donate via Paypal
Re: Quick way to use file permissions ?
Sure, but the OP did not specifically say that he needed it to be that.
Ok, thank you for pointing that out. I was not aware of that.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
- Posts: 26
- Joined: 30 Dec 2014 15:35
Re: Quick way to use file permissions ?
Thanks highend/Autocart, for the Info
I was looking for a quick fix, Not a project,
I only do very simple Script.
As it's not an option I have missed, I will stick with the long
winded way of doing it.
Cheers.
I was looking for a quick fix, Not a project,
I only do very simple Script.
As it's not an option I have missed, I will stick with the long
winded way of doing it.
Cheers.