Take ownership of the specified directory

takeown

  • Take ownership of a file or directory.
    More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/takeown>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

takeown /d {{path/to/directory}}

click the source code to copy