Take ownership and full rights of folder and everything inside:

30 Dec

Take ownership and full rights of folder and everything inside:

takeown /F somedir /A /R
icacls somedir /grant:r User:F /T