View Single Post
Old 09-20-2008   #4 (permalink)
Dave
Guest


 
 

Re: Unable to read / move / delete file with admin rights

Take ownership and change the permissions.....
I have this in a batch file named setowner.bat
takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t

to run, open a cmd window and type
setowner c:\"foldername"

or.......
http://thevistaforums.com/index.php?showtopic=13839



--
Vista Home Premium 32 SP1
http://get.live.com/wlmail/overview


"wait4it" <guest@xxxxxx-email.com> wrote in message
news:5d58ecea9725ac33d74d0f4a0c361b6b@xxxxxx-gateway.com...
Quote:

>
> Thanks for the reply Oscar - that seemed to work and I have now wrestled
> back control back of two files...
>
> However, I've got thousands to do, all in different folders although
> all in one top level folder (documents within my docs). Selecting all
> and clicking on properties doesnt seem to bring up the appropriate menus
> that i get from selecting one file... I assume this is because i have
> got folders and files selected.
>
> Any clues how i can sort out this problem on multiple files?
>
> Cheers
>
>
> --
> wait4it
My System SpecsSystem Spec