following lines will give ownership of the files or directory to the administrator in current windows
for files
takeown /f file_name /d y
icacls file_name /grant administrators:F
for directories
takeown /f directory_name /r /d y
icacls directory_name /grant administrators:F /t
http://www.blogsdna.com/2166/how-to-delete-undeletable-files-in-windows-7.htm
The 10 Best Ways to Boost Your Home Wifi
6 years ago
No comments:
Post a Comment