有点像CACLS命令

时间:2023-01-11 02:09:08

The temptation was too great I had to test if for my self,

诱惑太大我不得不测试我的自我,

I’m talking about the CACLS command I used the following to lock a file from everything

我在谈论CACLS命令我使用以下方法从一切锁定文件

CACLS C:\test.txt /p :n

CACLS C:\ test.txt / p:n

Nice though I did this with the impression that:

不错,虽然我这样做的印象是:

CACLS C:\test.txt /p :f would also unlock this

CACLS C:\ test.txt / p:f也会解锁这个

Which fails even though the CMD keeps telling me the change was successful

即使CMD一直告诉我改变成功,但哪个失败了

How do I get rid of this issue?

我如何摆脱这个问题?

1 个解决方案

#1


0  

Right click on the file from an explorer window. properties -> security -> add permission for your user (full control) and then delete the file :)

在资源管理器窗口中右键单击该文件。 properties - > security - >为你的用户添加权限(完全控制),然后删除文件:)

#1


0  

Right click on the file from an explorer window. properties -> security -> add permission for your user (full control) and then delete the file :)

在资源管理器窗口中右键单击该文件。 properties - > security - >为你的用户添加权限(完全控制),然后删除文件:)