It seems that I have already written about how to delete the Adobe CMP folder, but I seem to have forgotten it, but it doesn't matter ....
Experiment results:
File owner-plays a key role in determining whether a file can be deleted.
If I am not the owner, I obviously cannot obtain higher permissions.
But ....
Changing the folder owner cannot affect the files in the folder-this is how Windows works. In this case, unless you modify so many files one by one
To delete commands in batches.
At first I thought of attrib, but the result is: the file is a + R.
Because I do not have sufficient permissions, there is no way for these two attributes.
Then find the cacls: display or modify the access control table (ACL) of the file)
View the description and find that the/g option can grant the specified user access permission.
For example, you can add the "full control" permission for a file to the Administrator: cacls file/g administrator: F
The permission can be granted to a folder and all its files as follows: cacls DIR/g administrator: F/T
Finally, delete the folder:
Rmdir/S/Q cmap
Done!