delete NTFS protected File

  • Thread starter Thread starter Jérôme Mayolle
  • Start date Start date
J

Jérôme Mayolle

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.
 
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
 
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
 
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 said:
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 said:
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
 
Back
Top