How to Change the Access Rights of a File from the Command Line

Example, add read&execute for the current user, to a file named “hugo.dll”:

cacls hugo.dll /E /G %USERNAME%:r

Leave a Reply

You must be logged in to post a comment.