PC Review


Reply
Thread Tools Rate Thread

Changing folder permissions recursively/

 
 
BlackShuck
Guest
Posts: n/a
 
      10th Dec 2007
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....

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
 
Reply With Quote
 
 
 
 
Dave
Guest
Posts: n/a
 
      10th Dec 2007
try
icacls "e:\program files" /grant administrators:F /t

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


"BlackShuck" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> 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....
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


 
Reply With Quote
 
BlackShuck
Guest
Posts: n/a
 
      12th Dec 2007
On Mon, 10 Dec 2007 15:16:29 -0000, Dave <(E-Mail Removed)> wrote:

> try
> icacls "e:\program files" /grant administrators:F /t
>
> I'm not sure if the quotes are needed...
>


Perfect, thank you very much!!!

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to recursively remove read-only permissions yawnmoth Windows XP General 2 20th Dec 2009 01:19 PM
recursively change permissions of a directory Aek Microsoft C# .NET 1 27th Jul 2006 11:44 AM
How do I give permissions to subfolders recursively =?Utf-8?B?U3RlZg==?= Microsoft Outlook Discussion 6 9th Nov 2005 05:10 PM
How do I give permissions to subfolders recursively =?Utf-8?B?U3RlZg==?= Microsoft Outlook Discussion 0 22nd Jun 2005 03:29 PM
Change folder/file permissions recursively from Repair Console? D.R. Windows XP General 1 28th Sep 2004 10:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:29 PM.