PDA

View Full Version : delete NTFS protected File


Jérôme Mayolle
November 17th 06, 11:31 AM
Hello all.

I use Windows XP
I want delete old Vista folder "D:\Windows" but is protected by NTFS system.
Have you idea do do it?

Thanks for help.

John John
November 17th 06, 02:05 PM
Take ownership of the folder or use the CACLS command at a Command
Prompt to grant yourself necessary permissions to carry out the
deletion. You must have administrative privileges to accomplish the
task. Check your Windows help files for more information. For help on
CACLS do cacls /? at the command prompt.

Typical syntax:

cacls D:\Windows /E /G yourusername:F

John

Jérôme Mayolle wrote:

> Hello all.
>
> I use Windows XP
> I want delete old Vista folder "D:\Windows" but is protected by NTFS system.
> Have you idea do do it?
>
> Thanks for help.
>
>

Jim Robin
November 17th 06, 05:07 PM
Hi John,

This is very interesting and certainly something I didn't know about. I had
been going to reply to Jerome suggesting that he enter safe mode, use
windows explorer to find the file and use the "new" tab inside file
properties to change the ownership. So by using cacls in command mode one
can dispense with the need to go to safe mode? Way cool!

Is there a way that a user (like me) can obtain a comprehensive list of
utilities (with help) that may be used inside the command mode?

Many thanks,

Jim

"John John" > wrote in message
...
> Take ownership of the folder or use the CACLS command at a Command
> Prompt to grant yourself necessary permissions to carry out the deletion.
> You must have administrative privileges to accomplish the task. Check
> your Windows help files for more information. For help on CACLS do cacls
> /? at the command prompt.
>
> Typical syntax:
>
> cacls D:\Windows /E /G yourusername:F
>
> John
>
> Jérôme Mayolle wrote:
>
>> Hello all.
>>
>> I use Windows XP
>> I want delete old Vista folder "D:\Windows" but is protected by NTFS
>> system.
>> Have you idea do do it?
>>
>> Thanks for help.
>

John John
November 17th 06, 05:57 PM
Check your Windows help files for "commands".
At the command prompt issue the help command:

help

Use the /? switch to get help on specific commands, example:

xcopy /?

Or use the help [command] for help, example:

help dir

Search on Microsoft.com and you will find information like this:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true

John

Jim Robin wrote:

> Hi John,
>
> This is very interesting and certainly something I didn't know about. I had
> been going to reply to Jerome suggesting that he enter safe mode, use
> windows explorer to find the file and use the "new" tab inside file
> properties to change the ownership. So by using cacls in command mode one
> can dispense with the need to go to safe mode? Way cool!
>
> Is there a way that a user (like me) can obtain a comprehensive list of
> utilities (with help) that may be used inside the command mode?
>
> Many thanks,
>
> Jim
>
> "John John" > wrote in message
> ...
>
>>Take ownership of the folder or use the CACLS command at a Command
>>Prompt to grant yourself necessary permissions to carry out the deletion.
>>You must have administrative privileges to accomplish the task. Check
>>your Windows help files for more information. For help on CACLS do cacls
>>/? at the command prompt.
>>
>>Typical syntax:
>>
>>cacls D:\Windows /E /G yourusername:F
>>
>>John
>>
>>Jérôme Mayolle wrote:
>>
>>
>>>Hello all.
>>>
>>>I use Windows XP
>>>I want delete old Vista folder "D:\Windows" but is protected by NTFS
>>>system.
>>>Have you idea do do it?
>>>
>>>Thanks for help.
>>
>
>

Jim Robin
November 18th 06, 03:35 AM
Hi John,

Thanks for that. I have bookmarked that resources page. I used to be very
good with DOS and writing batch files but that was before windows 3.1 came
out and then it somehow seemed to all fade into oblivion. Interesting that
the command line interpreter has some useful tricks up its sleeve!

Thanks again for your help,

Best wishes,

Jim

"John John" > wrote in message
...
> Check your Windows help files for "commands".
> At the command prompt issue the help command:
>
> help
>
> Use the /? switch to get help on specific commands, example:
>
> xcopy /?
>
> Or use the help [command] for help, example:
>
> help dir
>
> Search on Microsoft.com and you will find information like this:
> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true
>
> John
>
> Jim Robin wrote:
>
>> Hi John,
>>
>> This is very interesting and certainly something I didn't know about. I
>> had been going to reply to Jerome suggesting that he enter safe mode, use
>> windows explorer to find the file and use the "new" tab inside file
>> properties to change the ownership. So by using cacls in command mode
>> one can dispense with the need to go to safe mode? Way cool!
>>
>> Is there a way that a user (like me) can obtain a comprehensive list of
>> utilities (with help) that may be used inside the command mode?
>>
>> Many thanks,
>>
>> Jim
>>
>> "John John" > wrote in message
>> ...
>>
>>>Take ownership of the folder or use the CACLS command at a Command
>>>Prompt to grant yourself necessary permissions to carry out the deletion.
>>>You must have administrative privileges to accomplish the task. Check
>>>your Windows help files for more information. For help on CACLS do
>>>cacls /? at the command prompt.
>>>
>>>Typical syntax:
>>>
>>>cacls D:\Windows /E /G yourusername:F
>>>
>>>John
>>>
>>>Jérôme Mayolle wrote:
>>>
>>>
>>>>Hello all.
>>>>
>>>>I use Windows XP
>>>>I want delete old Vista folder "D:\Windows" but is protected by NTFS
>>>>system.
>>>>Have you idea do do it?
>>>>
>>>>Thanks for help.
>>>
>>
>>
>

Google