Home > OS >  Delete the file
Delete the file

Time:11-25

Win10 system, prompt "you need permission from the administrator", tried a lot of methods are not line, select properties, safe also said that I don't have permission to view, how make, help

CodePudding user response:

In addition, I log in is the administrator account

CodePudding user response:

 
@ ECHO OFF
CLS
Color 0 a
Echo sure try to delete it?
Pause & gt; Nul
Taskkill/f/im explorer. Exe> Nul
Echo y | Cacls % */c/t/p Everyone: f & gt; Nul
DEL/F/A/Q \ \? \ % *
RD/S/Q \ \? \ % *
Start % windir % \ explorer exe
The exit


Saved as a bat on want to delete the directory, and then drag to delete the file to the bat icon on a try,

If it is not recommended under the PE deleted

CodePudding user response:

Right, get all permissions, administrators run CMD directly, if not command to delete a try

CodePudding user response:

Can modify files in the file resource manager permissions

Fool operation, find a file shredder line 360 what use

CodePudding user response:

reference 4 floor with 蘤 old crepe response:
can modify files in the file resource manager permissions

What fool operation, find a 360 with file mill line

No, 360 delete not to drop, but it's already done, thank you

CodePudding user response:

reference luoyely reply: 3/f
right, get all the permissions, administrators run CMD directly, if not command to remove try

Already done, thank you

CodePudding user response:

refer to the second floor of the nighthawk reply:
 
@ ECHO OFF
CLS
Color 0 a
Echo sure try to delete it?
Pause & gt; Nul
Taskkill/f/im explorer. Exe> Nul
Echo y | Cacls % */c/t/p Everyone: f & gt; Nul
DEL/F/A/Q \ \? \ % *
RD/S/Q \ \? \ % *
Start % windir % \ explorer exe
The exit


Saved as a bat on want to delete the directory, and then drag to delete the file to the bat icon on a try,

If it is not recommended under the PE delete

Already done, thank you
  • Related