Saturday, April 27, 2013

How to change File and Folder permissions on windows OS using Command Line (CLI)?

The following commands will help to take the ownership of the directory and files:
D:\>takeown /f D:\path\to\directory /r /d y
D:\>icacls D:\path\to\directory /grant administrators:F /t

No comments:

Post a Comment