Takeown: http://technet.microsoft.com/en-us/library/cc753024.aspx
Icacls:http://technet.microsoft.com/en-us/library/cc753525.aspx
使用示例:
设置当前目录及子目录(/r)下所有文件(/f *)的所有者为管理员(/a)
takeown /f * /a /r
设置当前目录及子目录下的所有文件(* /t)的权限为对所有人都为最高权限(everyone:f)
icacls * /t /grant:r everyone:f