Changing folder permissions recursively/

B

BlackShuck

I have an old Vista "program files", from a previous installation on my
E:\ drive, that's no longer used, it's however taking up stacks of space,
and I want to delete it. I have taken ownership of it, I can delete
directories, but not ones that contain sub-directories, as the sub
directories don't inherit the parents permissions.

It's going to be impossible to manually delete every folder in the tree,
is there a way?

I have tried using cacl, but it just comes back with "the data is
invalid" (great error message there Microsoft...)

Help....
 
D

Dave

try
icacls "e:\program files" /grant administrators:F /t

I'm not sure if the quotes are needed...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top