Thursday, November 27, 2014

Win7-Change permission of currupted folder and delete the files

1. Activate the Power Shell:
 go to the All program : Accessories - windows power shells - windows power shell


 get the file permission and set the file permission 

PS C:\Users\singhsac\downloads> get-acl c:\USERS\SINGHSAC\DOWNLOADS\"UNIX TUTORIAL" | set-acl -path C:\Cat.txt


2. Activate the command Prompt:

C:\Users\singhsac>DEL c:\USERS\SINGHSAC\DOWNLOADS\"UNIX TUTORIAL"
c:\USERS\SINGHSAC\DOWNLOADS\UNIX TUTORIAL\*, Are you sure (Y/N)? Y